kick the habit vs medicate

kick the habit

verb
  • To recover from or quit an addiction or habit. For example, to quit smoking, drinking, or drug addiction. 

medicate

verb
  • To have a medicinal or healing effect on a person, body part, or ailment; to act on. 

  • To prescribe or administer medication to. 

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