Have one’s cake and eat it too

Meaning: To want two good things that are normally impossible to have together.

Example: You cannot have your cake and eat it too by avoiding responsibility while demanding all the benefits.