I agree with you, being someone who has fought with his weight my entire life. The excess calories are there to fill a need, with mechanisms similar to substance abuse or gambling addiction. “Just stop eating too much” can feel like an unachievable goal.
Any weight loss of an obese person should be combined with psychiatric care, because if you don’t identify WHY you are eating so much, you might just trade one addiction for another one.