How physical beauty only skin deep?

How is beauty unimportant if people would choose a good-looking person over an ugly one in almost any situation?