encourage vs ward off

encourage

verb
  • To spur on, strongly recommend. 

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

  • To foster, give help or patronage 

ward off

verb
  • To avert or prevent. 

  • To parry, or turn aside. 

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