pack in vs swear off

pack in

verb
  • To give up, to quit. 

  • To include (especially of a large amount). 

  • To transport to base camp, especially by backpack. 

swear off

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

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