We all have habits that we need to get rid of. However, there is a particular habit that Jesus is more concerned about breaking than the one you are thinking of: it is the desire to get your own way.
“Since Jesus went through everything you’re going through and more, learn to think like him. Think of your sufferings as a weaning from that old sinful habit of always expecting to get your own way. Then you’ll be able to live out your days free to pursue what God wants instead of being tyrannized by what you want.”
1 Peter 4:1-2 MSG
When we struggle, we may think it is because God doesn’t love us. In reality, it might be that He loves you so much that He will use the stressful opportunity at hand to break the habit of the-only-way-I-will-be-happy-is-when-I-get-my-way.
God has more for you than that and He calls it freedom.