desist vs swear off

desist

verb
  • To cease to proceed or act; to stop (often with from). 

swear off

verb
  • To quit or cease completely, or to promise to quit, as a bad habit. 

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