This phrase highlights that each person sees advantages in others and wants them, without realizing that they themselves hold advantages over those same people, wanted by them. For example, in this phrase the ugly girl wants to be pretty, but the pretty girl wants to be lucky.