doubt vs pessimism

doubt

noun
  • Disbelief or uncertainty (about something); (countable) a particular instance of such disbelief or uncertainty. 

verb
  • To be undecided about; to lack confidence in; to disbelieve, to question. 

pessimism

noun
  • A general belief that bad things will happen. 

  • The condition of being pessimal. 

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

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