you can't judge a book by its cover
proverbman ska inte döma boken efter omslaget, man skall inte döma hunden efter håren
(idiomatic, metaphorical) It is not possible to make reliable judgments about things or people by considering external appearances alone.