to be beautiful or to be good

What do you think about this?

It is better to be beautiful than to be good.

But it is better to be good than to be ugly.

(Oscar Wilde)