Ironic expression, it is said when someone tries to get something without merit, without a reason so they give him is, only for the pretty face that has (especially when it has).