egoism vs self-abnegation

egoism

noun
  • Egotism (tendency to talk excessively about oneself). 

  • The tendency to think selfishly with exclusive self-interest in mind. 

  • The belief that moral behavior should be directed toward one's self-interest only. 

self-abnegation

noun
  • The denial or invalidation of one's own needs, interests, etc. for the sake of another's; the setting aside of self-interest. 

  • An act of self-denial. 

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