"Do not do to others what you would not like yourself. Then there will be no resentment against you, either in the family or in the state."
Confucius [K'ung Fu Tse] (551-479 BC), Analects 12:2
"What a man dislikes in his superiors, let him not display in the treatment of his inferiors; what he dislikes in inferiors, let him not display in the service of his superiors; what he hates in those who are before him, let him not therewith precede those who are behind him; what he hates in those who are behind him, let him not therewith follow those who are before him; what he hates to receive on the right, let him not bestow on the left; what he hates to receive on the left, let him not bestow on the right : - this is what is called The principle with which, as with a measuring-square, to regulate one's conduct."
The Great Learning 10.2
"Tsze-kung said, What I do not wish men to do to me, I also wish not to do to men. The Master said, Tsze, you have not attained to that."