egoism vs vanity

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. 

vanity

noun
  • Excessive pride in or admiration of one's own abilities, appearance, achievements, or possessions. 

  • A dressing table used to apply makeup, preen, and coif hair. The table is normally quite low and similar to a desk, with drawers and one or more mirrors on top. Either a chair or bench is used to sit upon. 

  • Emptiness. 

  • That which is vain, futile, or worthless; that which is of no value, use or profit. 

  • A washbasin installed into a permanently fixed storage unit, used as an item of bathroom furniture. 

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