have cake and eat it too

have one's cake and eat it too

 and eat one's cake and have it too
Cliché to have in one's possession something and be able to use or exploit it; to have it both ways. (Usually stated in the negative.) Tom wants to have his cake and eat it too. It can't be done. Don't buy a car if you want to walk and stay healthy. You can't eat your cake and have it too.
See also: and, cake, eat, have

have your cake and eat it too

to do or get two good things at the same time I worked at home so I could raise my family and still earn money. It let me have my cake and eat it too.
See also: and, cake, eat, have