The Golden Rule (can be considered as a law of reciprocity in some religions) is the principle of treating others as one would wish to be treated. It is a maxim of altruism seen in many human religions and human cultures. The maxim may appear as either a positive or negative injunction governing conduct:
The Golden Rule differs from the maxim of reciprocity captured in do ut des—"I give so that you will give in return"—and is rather a unilateral moral commitment to the well-being of the other without the expectation of anything in return.
The concept occurs in some form in nearly every religion and ethical tradition. It can also be explained from the perspectives of psychology, philosophy, sociology, human evolution, and economics. Psychologically, it involves a person empathizing with others. Philosophically, it involves a person perceiving their neighbor also as "I" or "self". Sociologically, 'love your neighbor as yourself' is applicable between individuals, between groups, and also between individuals and groups. In evolution, "reciprocal altruism", is seen as a distinctive advance in the capacity of human groups to survive and reproduce, as their exceptional brains demanded exceptionally long child-hoods and on-going provision and protection even beyond that of the immediate family. In economics, Richard Swift, referring to ideas from David Graeber, suggests that "without some kind of reciprocity society would no longer be able to exist."
The term "Golden Rule", or "Golden law" began to be used widely in the early 17th century in Britain by Anglican theologians and preachers; the earliest known usage is that of Anglicans Charles Gibbon and Thomas Jackson in 1604.
Possibly the earliest affirmation of the maxim of reciprocity, reflecting the ancient Egyptian goddess Ma'at, appears in the story of The Eloquent Peasant, which dates to the Middle Kingdom (c. 2040 – c. 1650 BC): "Now this is the command: Do to the doer to make him do." This proverb embodies the do ut des principle. A Late Period (c. 664 BC – 323 BC) papyrus contains an early negative affirmation of the Golden Rule: "That which you hate to be done to you, do not do to another."