Work out so you could eat whatever you want whenever you want. I consume several muffins (40g) daily, put a shitton of sugar in my tea and coffee. I also happen to love potato chips, which I consume in copious amounts. Still fit as heck.
there comes a time, when your body changes from an automatic car, that can shift gear by itself no matter how pounding the road is, to a manual shift gear car, that you have to control yourself. sadly, I'm there, so I took upon myself to take good care of myself for the benefit of my kids, my wife and me. I do cardio every day and I have changed my life for the better. every day is a struggle of will power, but I tell myself that I'm stronger than my weakness. three years and going strong.
I have done the same. Cut sugar drastically, work out almost everyday and try to make myself uncomfortable whilst working out so I am more comfortable under load in the world. Also to prep this olde body for the next decade. Far better overall to start 10-yrs earlier than later.
I have a home gym now, but back when I was trying to solidify my workout habits I had to will myself to workout as I passed the gym on the way home from work. Wanna race home to party? No, go workout. Feeling lackluster? Doesn't matter, workout. That extra push I gave myself back then worked (and felt great) and now I strive to get that workout in and feel bad if I don't.