We are imperfect beings and God is just.
Therefore, He does not expect perfection out of us: only remorse for our sin and the willingness to get back up when we fail.
Repent and try again.
Remember not to compare your spiritual journey to those around you, either. Like in life, we all mature at different rates and none of us are better than the other.
Whether your sin of habit is as complex an issue as sexual immorality or as difficult to break as habitual lying... all sin is the same in the eyes of God. We each have our own struggle. What is thoughtless for you is a war for me. I may never understand why your battle is your own- hell, you may not comprehend it yourself! But what's amazing is God intimately knows each and every struggle you have and will ever face. Jesus is the gateway to eternal, pure empathy for the corrupted human heart.
He knows it's difficult for you...
He also knows you're trying.
Repent.
Try again.