The theory of losing mass is very similar to that of energy. The theory of conservation of energy states that energy going in equals energy going out. If there’s an imbalance of this, then the system changes.
To put this into losing weight, one must output more energy than taking in.
So, the problem is not that you are eating too much. It’s because you are not shitting enough.