Lacking motivation

I really want to loose weight but every time I go to try I fail and I have don’t a number of models and my general thought when it comes down to it is that I lack motivation. It just seems that I have tried and failed so so many times what would be the point this time. I really just need help in understanding how I can work on my thought work on this.