prevent vs resist

prevent

verb
  • To stop (an outcome); to keep from (doing something). 

resist

verb
  • To withstand the actions of. 

  • To oppose; to refuse to accept. 

  • To attempt to counter the actions or effects of. 

noun
  • A protective coating or covering. 

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