Judge a book by its cover

Meaning: To judge someone or something based only on appearance rather than looking at what is inside.

Example: The restaurant looks ordinary, but do not judge a book by its cover — the food is excellent.