The two periods of my life where I totally abstained from junk food for a year (once by circumstance, once by choice) are easily the most mentally healthy years I’ve experienced, no depression, no anxiety, so self-esteem challenges.
Recently after a year of not eating any junk food (seed oil specifically) I had two small bags of Doritos. That night I was laying on my living room floor feeling essentially suicidal out of nowhere. It was extreme and acute. From there I was convinced.