Same thought causing competing feelings

I’ve lost a lot of weight many times and regained some to all. I have the following beliefs:

“My body is good at losing weight”/“I know I can lose weight following my protocol”

I think I want to keep these beliefs because it makes me feel confident that I will lose the weight.

However, I notice that sometimes this thought makes me feel justified to overeat. I procrastinate weight loss in favor of false pleasure and justify it by telling myself I can lose the weight. It feels very true to me in the moment.

Is this a belief I should consider releasing? Or just think of it as a thought error when it makes me feel justified?

Thanks in advance.