refrain vs resist

refrain

verb
  • To stop oneself from some action or interference; to abstain. 

  • To abstain from (food or drink). 

noun
  • The chorus or burden of a song repeated at the end of each verse or stanza. 

  • A much repeated comment, complaint, or saying. 

resist

verb
  • To attempt to counter the actions or effects of. 

  • To withstand the actions of. 

  • To oppose; to refuse to accept. 

noun
  • A protective coating or covering. 

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