proverb

You cannot judge a tree by its bark.

appearance

means that

Appearence in not a reliable guide to the actual value of someone or something.

Related

similar

Also

You can't tell a book by its cover.