Wanting to change a bad habit is good. It shows you have self-awareness.
However, consider a small question:
What do you practice more: reminding yourself of your bad habit, or being grateful for all the good habits you have?
The tree that gets watered is the tree that gets nurtured.
Start being grateful for what all you are doing right and what all is working well in your life.
It’s not motivational. It’s real.*
*if practiced.