despair vs take heart

despair

verb
  • To be hopeless; to have no hope; to give up all hope or expectation. 

  • To cause to despair. 

noun
  • That which causes despair. 

  • Loss of hope; utter hopelessness; complete despondency. 

  • That which is despaired of. 

take heart

intj
  • Used when encouraging someone to bear or take up a difficult situation. 

verb
  • To be courageous; to regain one's courage. 

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