Good-looking people exhibit and, therefore, are more likely to be constituted by the sort of genes that reproduce reliably. Natural selection, especially sexual selection, is a numbers game. Beauty is what the society wants to look like, and the best way for a society to look like something is for its members to mate with members who look like it. The discrimination is precisely that, but, from our genes' perspective, in the positive sense of the word.