Bullshit. I know plenty of people who eat shit and still look amazingly fit.
It is more about being active.
It is much easier to move your ass constantly than to diet.
Dieting is super hard because it goes against the human psyche.
Whereas being active is very natural and what your body expects you to be doing.
Don't try to diet. Exercise, routinely.