give up vs swear off

give up

verb
  • To stop or quit (an activity, etc.) 

  • To admit defeat, capitulate 

  • Become fully taken over by a certain quality, activity, trait, &c. 

  • To abandon (someone or something) 

  • To relinquish (something) 

  • To execute a trade on behalf of another broker. 

  • To surrender (someone or something) 

  • To lose hope concerning (someone or something) 

swear off

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

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