If you've been resolving to eat well, then failing and bingeing, for 13 years - please take a look at this thread. I have been.there.done.that. I was so fit, so loved exercising, so in charge of everything in my life and did exactly what I set my mind to ever time. Until chronic antibiotics destroyed my gut bacteria (although I didn't know what caused it until I put it together years later) and I couldn't stop thinking about sugar. ever.
Over a decade later, I am realizing not only was I literally addicted to sugar & grains, but also had what they would call binge eating disorder. I just never knew it. My solutions have been dramatic increase in protein for three meals a day, dramatic increase in natural fats, removing grains from the diet, limiting starches and fruits, focusing on nutrient-dense foods (instead of just avoiding XYZ), adding in fermented foods and bone broths (to restore proper gut function), & finally, increasing my breakfast protein even more to 50gm each morning.
You may have different solutions, but do go and read through at least three pages of that thread and see if you see yourself in there.
It's not self-control. It's biochemistry. Our diets have screwed with our brain chemicals. When the craving switch is on, all you can think about is food. When the switch is off, you couldn't care less about food between meals and can rationally and simply make choices during them, exerting normal human levels of self-control.
It totally sucks. But it's not hopeless.