If I don't eat that cake, I will go into starvation mode, thereby retaining more calories than I would have gained from ingesting the cake. Therefore I must eat the cake to lose weight. Starvation mode is a pretty good meme.