Self Confidence vs Sociopath?


“I am the best (fill in the blank) and don’t care what others think.”
How can one be sure to think and act in healthy self -confidence and avoid becoming like a sociopath, lacking the ability to be introspective?
Or what is the difference?