Well, there’s nothing wrong with enjoying cake, while it’s here. Sure. However, you can start to see why Buddha said “Desire is the root of evil.”
Loving something is wanting more of it, hating it is wanting less of it. Two sides of the same “desire/wanting” coin.
Letting go of judgement takes us out of wanting.
If we love cake while it’s here, but love its absence as deeply, well, then we can remain calm & centred regardless of the cakiness of the situation.
Someone takes cake away from us, we can deeply enjoy our lack-of-cakeness… we’re becoming more svelte, we’re eating healthier, our cholesteral is dropping and boy howdy, if we have cake again we’re gonna really enjoy it.