Lost cause?

I think I want to lose weight. I don’t like having to wear bigger clothes or the lack of things I can do because of the weight. But, I can’t seem to stick to a protocol. I’ve tried no sugar and flour and lost weight, but gained it back plus more when I added it back in. I can’t really come up with a compelling reason – it’s like I’m stuck in this comfort trap. I feel at odds with myself most of the time – need to lose weight/sabotage/want to look better/give in to immediate gratification. Am I a lost cause and should I just stop trying?