You cannot judge the character or quality of something/someone just by looking at them.
You cannot judge a book by its cover; that girl you talked to is actually a very nice person.