This phrase is easier to understand if it is read the way it was originally written, "You can't eat your cake, and have it too". Obviously once you've eaten your cake, you won't have it any more. This means you cannot have things both ways, if those two ways conflict.
Example:
He works so hard … Read more