abstain vs resist the temptation to

abstain

verb
  • Deliberately refrain from casting one's vote at a meeting where one is present. 

  • Refrain from (something or doing something); keep from doing, especially an indulgence. 

resist the temptation to

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