"What you do not want done to yourself, do not do to others." This is a rule of Confucius, the ancient Chinese sage, on how we should treat others. This saying comes from "The Analects," a collection of Confucius' sayings from over 2,000 years ago.
Confucius' wisdom still has a significant influence on the Chinese way of thinking and the cultural values of today. This line in modern times can be reinterpreted as "Respect others and they will respect you."