egotism vs selfishness

egotism

noun
  • The result or product of being egoistic. 

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

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

  • A tendency to talk excessively about oneself. 

selfishness

noun
  • the quality of being selfish; the condition of putting one's own interests before those of others. 

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