If I were travelling with two partners, one virtuous and one dishonest, both would be useful as teachers. I would perceive what's good of the first one and I would imitate him whereas I would try to correct in me the defects I may see in the second one.
In archery we have something like the way of the superior man. When the archer misses the center of the target, he turns round and seeks for the cause of his failure in himself.
What you dislike in your superiors, avoid doing to your inferiors. What you dislike in your inferiors, avoid doing when working for your superiors. What you hate in those who are in front of you, do not do to those behind you.
To be fond of learning is to draw close to wisdom. To practice with vigor is to draw close to benevolence. To know the sense of shame is to draw close to courage. He who knows these three things knows how to cultivate his own character. Knowing how to cultivate his own character, he knows how to govern other men. Knowing how to govern other men, he knows how to govern the world, its states, and its families.