egotism

/ˈiːɡəˌtɪzəm/
noun
  1. The tendency to think only about oneself and to believe that one is more important than other people; excessive self-centeredness.
    • The politician's egotism led him to ignore the needs of his constituents.
    • His constant bragging about his achievements was a clear sign of egotism.
    • Egotism can make it hard to maintain close friendships because you never listen to others.