kick the habit, drug, booze, etc.

kick the (something)

slang To overcome an addiction to something. It took gum, patches, and even hypnosis, but I've finally kicked the habit. Unfortunately, the physical nature of heroin addiction means that kicking the habit isn't as simple as just wanting to stop. After saying such horrible things to my parents, I decided it was finally time to kick the booze for good.
See also: kick
Farlex Dictionary of Idioms.

kick the ˈhabit, ˈdrug, ˈbooze, etc.

stop doing something harmful that you have done for a long time: According to research, only one smoker in a hundred is able to kick the habit without some kind of help.
See also: kick
Farlex Partner Idioms Dictionary
See also:
  • kick the (something)
  • kick the habit
  • kick the/(one's) habit
  • kick a habit
  • shake a/the habit
  • shaken
  • make a habit of
  • make a habit of (doing something)
  • make a habit/practice of something
  • gum up the works