What is the meaning of [Clothes do not make the man]

It is what is behind the man – that is, his character – that really matters.
On the other hand, this is contradicted by The tailor makes the man and Fine
feathers make fine birds.