Wherever there is a judged bad habit there is also the habit of admonishing oneself for it. They tend to go hand-in-hand.
“Most people are trying to fix their habits from their self-judgement, rather than from self-love. That’s never going to sustain results.” – James Blacker
This means, for example, that you develop the habit of smoking, watching TV or eating unhealthily, and you develop the habit of judging yourself for doing so – struggling against yourself – in order to remedy that.
It’s like struggling as a strategy to get out of a fisherman’s net. It’s never gonna work that way. So it’s a double-whammy: Struggling to force the behaviour of a good habit, and struggling in self-judgement for not doing so.