Just like alcoholism, or any kind of other addictions.
I've struggled with alcohol abuse, and once you come to the realization that you're abusing it, the fix FOR ME was relatively simple: I stopped (under medical supervision) drinking, or to be more precise: I stopped starting to drink. I have no problems not drinking, I have a problem that when I start I cannot stop.
I have the same issue with food. Not eating is a lot easier than stopping to eat. But I cannot completely stop eating.
Yet with alcohol people are like: hey, good for you.
With my weight issues people are like: dude, just eat less, or exercise more.
(I stopped sharing the food story with people).
Otherwise I over eat crap and gain weight easily
I was pre-diabetic at 100kg and went down to 70kg over a year of low carb diet and intermittent fasting
It’s a daily struggle trying to NOT eat until literally feeling pain in the belly, and even then, I know if I wait 30 minutes more I can keep eating