You can’t have your cake and eat it too

Meaning: You cannot have two things that are mutually exclusive.
Example: You can’t have your cake and eat it too—you can’t spend all your money and still save it.