Bingo.
All things in moderation. Stop eating like a pig and problem goes away. One can’t consume more calories than one expends. It isn’t complicated but that ugly aspect of self-discipline rears its ugly head and when ignored demands its retribution.