以貌取人

Idiom

 * 1) to judge a book by its cover; to judge people by their appearance