Honestly man it fucking happens.
I woke up one morning around 29 and was 245 and hated it and decided I was missing out on life. I remember it was August 5th because it was my dog's birthday.
There's really no motivation better than just being bored and sick of being fat and shitty. I wish I could say I handled it any other way but that's just not true, you can't lose weight until you're absolutely bored of being a bitch. Once I decided life had more to offer me, through a combination of exercise and research, I was down to 167 in 4 months and people were telling me I needed to stop.
I just got out of a fucking stressful job though it and piled the weight back on me because it was an intense labor job, and when you get home from that you're like "fuck it, gimme that cheeseburger" and it stacks up.
But to encourage you brother, I give you this advice.
Fuck exercise.
You can outsmart your fat through research and diet hacking.
Looking back now, I wish I lost weight through anaerobic exercise and weight training, because that way I would have been buff and Chadded up instead of just "not fat."
But if your first concern is just being bored of being a fatass and trying to find something more positive in life, then allow me to encourage you- If you read enough, and you're dedicated enough, you can lose a fuckload of weight through diet alone, and not have to do anything more intense than walking.
I had a buddy who was a world class kickboxer who once told me, "it's 70% diet and 30% exercise. If you only do one, do diet, because exercise will never beat diet."
The book I recommended is by a midwest obesity doctor that specifically works with 500 and 600lb land whales that have to lose weight or die and can't even exercise. If it works for them, it can work for you and me.
I didn't even touch a bar and a bench until after I lost it. You can outsmart your weight with enough research and willpower. You just need to read enough to know how.