stylistic:tone, linguistic:voice_change
Sanskrit tradition

In Mahābhārata, the ancient epic of India, there is a discourse in which sage Brihaspati tells the king Yudhishthira the following about dharma, a philosophical understanding of values and actions that lend good order to life:

One should never do something to others that one would regard as an injury to one's own self. In brief, this is dharma. Anything else is succumbing to desire.

The Mahābhārata is usually dated to the period between 400 BCE and 400 CE.