To say that someone "wants to have their cake and eat it too" is an idiom meaning that the person wants more than they deserve, or that they are trying to have two incompatible things.