My advice is to figure out why/how you became overweight. You need to know the root cause before you can conjure up a permanent solution.
Here's a hint...food is never really the root cause of our weight problems.
Some people are emotional overeaters who use food to cope in times of stress, boredom, joy, pain and uncertainty. Others are garden variety eaters whose social lives revolve around overeating.
Some people became obese due to hardcore food addictions and others have psychological diagnoses such as binge eating disorder. Finally, some people overeat to soothe past trauma they experienced or witnessed such as sexual abuse or violence.
Some people will swear up and down they never eat too much, exercise regularly, and still became obese. Nonetheless, obesity due to medical issues only occurs in less than 5% of cases.
In my personal experience, the people in profound denial who lack insight and are unwilling to practice introspection (e.g., "I got up to 300 pounds eating 1200 calories a day!") are often the same ones who seek their third or fourth revision surgery due to each previous procedure "not working."
In other words, be honest with yourself. I ate too much for physical reasons because insulin resistance kept me chronically hungry. Also, I experienced childhood traumas such as domestic violence and drug addiction, and food soothed me when those ugly memories resurfaced.
So I attended a few counseling sessions as I reached my goal weight.
Good luck to you.