The Master said of Gong Yechang, “He is marriageable. Although he was once imprisoned and branded as a criminal, he was in fact innocent of any crime.” The Master gave him his daughter in marriage. (Analects 5.1)
The administration of government lies in getting proper men. Such men are to be got by means of the ruler's own character. That character is to be cultivated by his treading in the ways of duty. And the treading those ways of duty is to be cultivated by the cherishing of benevolence.
To practice five things under all circumstances constitutes perfect virtue; these five are gravity, generosity of soul, sincerity, earnestness, and kindness.
When we have intelligence resulting from sincerity, this condition is to be ascribed to nature; when we have sincerity resulting from intelligence, this condition is to be ascribed to instruction. But given the sincerity, and there shall be the intelligence; given the intelligence, and there shall be the sincerity.
Kong Qiu, or Master Kong as he was known, did not live to see his days of glory. During his lifetime, his views were received with scorn. But that was about two thousand five hundred years ago. A handful of his dedicated followers passed on Confucius' teachings to future generations.
After Confucius' death, his followers published his teachings in the book, The Analects of Confucius.