"This is the sum of duty: Do naught unto others which would cause you pain done unto you."--Brahmanism, Mahabharata 5, 1517, 1000 BCE from _The_Encyclopedia_of_Religious_Quotations_ Edited and Compiled by Frank S. Mead ©1965
"Do not to your neighbor what you would take ill from him."-- Pittacus, 650 BCE
"Do unto another what you would have him do unto you, and do not do unto another what you would not have him do unto you. Thou needest this law alone. It is the foundation of all the rest." -- Confucius, 500 BCE
"What you do not like when done to yourself, do not do to others."-- also Confucious, 500 BCE
"Hurt not others in ways, that you yourself would find hurtful." -- Buddhism. Udana-Varga 5:18, 500 BCE, from _The_Encyclopedia_of_Religious_Quotations_ Edited and Compiled by Frank S. Mead ©1965
"Avoid doing what you would blame others for doing." -- Thales, 464 BCE
"What you wish your neighbors to be to you, such be also to them." -- Sextus, a Pythagorean, 406 BCE
"We should conduct ourselves toward others as we would have them act toward us." -- Aristotle, 385 BCE
"Cherish reciprocal benevolence, which will make you as anxious for another's welfare as your own." -- Aristippus of Cyrene, 365 BCE
"Act toward others as you desire them to act toward you." -- Isocrates, 338 BCE
"Do not do to others what you would not like others to do to you." -- Hillel, 50 BCE
Then, some time later . . .
"Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets." -- Jesus of Nazareth, circa 30 CE