Judge by appearances

Meaning: To form an opinion about someone or something based mainly on how it looks.

Example: You should not judge people by appearances.