egoism vs smugness

egoism

noun
  • The tendency to think selfishly with exclusive self-interest in mind. 

  • Egotism (tendency to talk excessively about oneself). 

  • The belief that moral behavior should be directed toward one's self-interest only. 

smugness

noun
  • The state or quality of being smug. 

  • The result or product of being smug. 

How often have the words egoism and smugness occurred in a corpus of books? (source: Google Ngram Viewer )