do someone a favor vs encourage

do someone a favor

encourage

verb
  • To mentally support; to motivate, give courage, hope or spirit. 

  • To spur on, strongly recommend. 

  • To foster, give help or patronage 

How often have the words do someone a favor and encourage occurred in a corpus of books? (source: Google Ngram Viewer )