During the sixth century B.C., competing Chinese states undermined the authority of the Chou Empire, which had held supreme rule for over 500 years. Traditional Chinese principles began to deteriorate, resulting in a period of moral decline. Confucius recognized an opportunity—and an obligation—to reinforce the societal values of compassion and tradition. His social philosophy was based primarily on the principle of "ren" or "loving others" while exercising self-discipline. He believed that ren could be put into action using the Golden Rule, "What you do not wish for yourself, do not do to others." (Lunyu 12.2, 6.30).
http://www.biography.com/people/confucius-9254926#early-lifeYan Hui, Confucius's most outstanding student[citation needed], once asked his master to describe the rules of ren. Confucius replied, "One should see nothing improper, hear nothing improper, say nothing improper, do nothing improper."[1] Confucius also defined ren in the following way: "wishing to be established himself, seeks also to establish others; wishing to be enlarged himself, he seeks also to enlarge others."[2] Confucius also said, "Ren is not far off; he who seeks it has already found it." Ren is close to man and never leaves him.
https://en.wikipedia.org/wiki/Ren_%28Confucianism%29