dejection vs pessimism

dejection

noun
  • A low condition; weakness; inability. 

  • The act of humbling or abasing oneself. 

  • A state of melancholy or depression; low spirits, the blues. 

pessimism

noun
  • The condition of being pessimal. 

  • A general belief that bad things will happen. 

  • The doctrine that this world is the worst of all possible worlds. 

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