What they said is correct. If you eat more than you burn, you gain weight. That's how it works. If you believe different you're unlikely to maintain a healthy weight. Dieting and maintaining a healthy weight is all about energy balance and personal behavior. I've lost weight and kept it off for four years now.