Some things are bad, but provide instant gratification. Some things are good, but don't. If you want to create better habits, you have to create an environment where doing the right thing is as effortless as possible. You have to optimize and work around your monkey brain's weaknesses.
(Why Radek signed up for a gym, strategies for making this stick, social running, weekly review as a habit, and morning routines.)