The problem is that your brain can't tell the difference between bad and good habits, and so if you have a bad one, it's always lurking there, waiting for the right cues and rewards.
Charles Duhigg (2012). “The Power of Habit: Why We Do What We Do, and How to Change”, p.20, Random House