The point is you can’t eat your cake and still have it afterward, because it has been eaten. So the more common version OP referenced makes no sense because you obviously need to have your cake before you’re able to eat it, so it’s unclear what you’re trying to say.