Habit Paradox
A “bad” habit is typically defined as a consistent action that solves a short-term problem but has long-term negative consequences. At the time the action seems like a reasonable solution.
If the problem is stress or anxiety the short-term relief might be junk food or alcohol. The long-term effect is a debit to your health. At first, it's a credit because it feels great which makes the action reasonable at first glance.
The transaction has a “fools gold” effect because you’re fooled on the front end. The paradox is that the “credit" of a good habit isn't realized on the front end. This explains why bad habits are easy to start and good habits are hard to keep.
Pro Tip: It's worth paying attention to the habits you have been sold to solve recurring problems.
MG: Atomic Habits