egotism vs self-importance

egotism

noun
  • Egoism (belief that behavior should be directed towards one's self-interest). 

  • A belief that one is superior to or more important than others. 

  • The result or product of being egoistic. 

  • A tendency to talk excessively about oneself. 

self-importance

noun
  • An exaggerated estimate of one's own importance or merit, especially as manifested by the conduct or manners; self-conceit. 

How often have the words egotism and self-importance occurred in a corpus of books? (source: Google Ngram Viewer )