Beliefs are stronger than willpower. Take a moment and consider what you believe about yourself.
Do you believe in a growth or fixed mindset? The implications may explain a lot- especially when looking to change a habit. Learning is necessary to change a habit.