means that
kindness and good conduct matter more than physical attractiveness when judging a person's true worth.
also
handsome is as handsome does
For example, that good character and behaviour are more important than good looks. This is a situation where “pretty is as pretty does” applies.