egotism vs vainglory

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. 

vainglory

noun
  • A regarding of oneself with undue favor. 

  • Boastful, unwarranted pride in one's accomplishments or qualities. 

  • Vain, ostentatious display. 

  • Excessive vanity. 

verb
  • To boast; to act in a vain manner. 

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