I respectfully disagree, because I believe the root issue is physiological/chemical rather than mental. Most obese people know they are living an unhealthy lifestyle and that what they eat is bad for them. Education can only do so much to counteract cravings. I believe the mind over matter approach works for some, but not for the majority of the population.
Beyond the fact that modern prepared and prepackaged food is often engineered to be as desirable as possible, I believe some of us are just naturally more prone to seeking calorie dense foods. This was probably a positive adaptation in past living conditions, but it is now maladaptive in a world of cheap and virtually unlimited calories.