despair vs take heart

despair

noun
  • That which causes despair. 

  • Loss of hope; utter hopelessness; complete despondency. 

  • That which is despaired of. 

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

  • To cause to despair. 

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 )