avert vs encourage

avert

verb
  • To ward off, or prevent, the occurrence or effects of. 

  • To turn aside or away. 

encourage

verb
  • To spur on, strongly recommend. 

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

  • To foster, give help or patronage 

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