attract vs ward off

attract

verb
  • To incur. 

  • To draw by moral, emotional or sexual influence; to engage or fix, as the mind, attention, etc.; to invite or allure. 

  • To pull toward without touching. 

ward off

verb
  • To avert or prevent. 

  • To parry, or turn aside. 

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