endanger vs ward off

endanger

verb
  • To put (someone or something) in danger; to risk causing harm to. 

ward off

verb
  • To avert or prevent. 

  • To parry, or turn aside. 

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