Life is a reflection. That which is within is a mirror to the outside world. A saint easily sees goodness in others. A thief considers all others as a thief.
You understand yourself the best. Only then can you understand the same qualities in others. Because every quality has a root. You know your own root, so you can recognise other roots.
It takes one to know one !