be pessimistic vs lose heart

be pessimistic

lose heart

verb
  • To despair; to experience reduced morale. 

How often have the words be pessimistic and lose heart occurred in a corpus of books? (source: Google Ngram Viewer )