How do I believe in myself?

I am a data-driven person. This makes it really hard to believe I can achieve sustainable weight loss. I have had 2 bariatric surgeries and struggled with my weight my whole life. After losing 100lbs…the scale is creeping back up and I have gained 25lbs. How can I believe in myself when I have never been able to sustain my weight loss and I have many failed attempts as proof against believing in myself. With my track record, it would be foolish to think this time would be any different. That feels like setting myself up for more disappointment.