Attributed to Patanjali, the Yoga Sutras were compiled a few hundred years before the Common Era and are essentially the bible of yoga.
This practice of reflection has created a space between the emotion caused by a stimulus and the action that follows that emotion.
Abhyasa is difficult, but vairagya is a bitch.