Memory is the recollection of an experienced condition.
Through practice and dispassion arises restraint.
Tireless endeavor is the constant effort to restrain the modifications of the mind.
When the object to be gained is sufficiently valued, and the efforts towards its attainment are persistently followed without intermission, then the steadiness of the mind is secured.
Non-attachment is freedom from longing for all objects of desire, either earthly or traditional, either here or hereafter.
The consummation of this non-attachment results in an exact knowledge of the spiritual man when liberated from the qualities or gunas.
Yoga Sutra of Patanjali
(Yoga Sutra Samadhi Pada 11 to 16)