Not sure if this helps or not, but I'll give it a shot:
When I went to the doctor for stomach pains, they diagnosed me with ulcers. Before medication, they wanted me to try lifestyle change. They told me that sometimes stomach ulcers are a mixture of poor eating habits and stress.
They recommended I go a therapist (which I briefly tried, and then realized they don't actually help you, or at least the ones I saw didn't. I'm goal oriented, so touchy feely froo froo crystal harmony nonsense doesn't work for me. None of the three offered any "means to achieve objective", just a lot of "examine your feelings and learn to let go" nonsense that produces zero results, but keeps me paying them) and change my diet.
I don't remember all the guidelines they gave me for diet change, but the two big ones I won't ever forget:
Cut out nearly all fatty meat. Lean cuts of meat, lean burger, no more stuff like bacon. Skinless chicken. Etcetera.
Cut out nearly all sugar. I could have the sugar content of a single oreo cookie a day, and no more (something like 8-10 grams of sugar or something? I forget what the packaging said). I could have the sugar of "eating raw fruit", but only if it wasn't acidic (so, no oranges or strawberries or anything like that, but apples and bananas were okay if they were sweet), but I still had to watch the intake of that as well.
Turns out, basically everything they sell in a grocery store? Has a pretty high sugar content. I couldn't eat canned vegetables. They had to be frozen. I couldn't eat canned soups. Lots of frozen foods were off the table. These items contained higher sugar content than a single oreo.
It forced me to "eat healthy". Fresh fruit. Fresh vegetables. Water, no sweet drinks of any kind (I cheated a little and had 2 bottles of flavored water a day, and switched to drinking soda with no caffeine in it, that was also semi-reasonable in sugar content... or reasonable to me). I had to cook all my meals "from scratch". No more "snack" food.
Breakfast each day consisted of 1 apple and 1 bottle of water.
Lunch was usually a salad with low-fat/low-sugar dressing and cheese (the cheese would stave off hunger for longer).
Supper was my "big meal of the day" and consisted of usually a meat and vegetable (flat iron steak with green beans, as an example. Mashed Potatoes with skinless chicken breast. Etcetera).
It wasn't fun.
For 6 months, I was consistently "hungry" and "wanted to snack". Aside from my small breakfast, I was actually eating an appropriate amount of calories a day for my sedentary lifestyle/work. Interestingly, when I finally kicked the caffeine withdrawals, the "being constantly hungry" went away, too.
In a year, I lost like 40 pounds. My only exercise was walking 40 minutes a day, 20 minutes of which were uphill (22 degree incline for two blocks).
My mood and health actually did improve. It's interesting how "dull" your brain feels on a constant supply of caffeine and sugars compared to when you no longer have those things. Made me pretty focused and active for quite a while. Nights in were no longer "eat chips and dip and play video games while drinking a 2 liter of soda". They were "let me work on this project while I watch a movie".
Do keep in mind, that it worked for me because I'm very "all or nothing". I can't "piecemeal" quit anything. It's cold turkey or nothing. Then, it's all about willpower after that, and continually telling myself "no".
If you can't tell yourself "no", then you will find it very difficult to change anything about yourself, no matter what it is. Recognizing where you are failing and then committing to not failing there again, not even for "cheat days", is the proper mindset necessary to changing who you are and your habits.