lose heart vs resign

lose heart

verb
  • To despair; to experience reduced morale. 

resign

verb
  • To submit passively; to give up as hopeless or inevitable. 

  • To quit (a job or position). 

  • To give up; to relinquish ownership of. 

  • To hand over (something to someone), place into the care or control of another. 

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