egotism vs hubris

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. 

hubris

noun
  • Excessive pride, presumption or arrogance (originally toward the gods). 

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