Have your cake and eat it

What does ”have your cake and eat it” mean?

It means that you want to have an outcome that benefits you in every way, and that you are not willing to compromise. It also implies that this is an unreasonable expectation.

“You want to have your cake and eat it”