you cant have your cake and eat it too

You cant have your cake and eat it too is a way to say that you cant have everything, or you cant have things both ways. Having your cake and eating it too is a way of saying you are trying to eat your cake twice which is impossible. You cant have things both ways, you must pick one way or the other which is what this idiom is trying to point out.