Yoga Sutras of Patanjali translated by Yogi Kalinath - Chapter 3, Verse 49
Pada 3, Sutra 49
Sattva-purusaanyataa-khyaati-maatrasya sarva-bhaavaadhistaatrtvam sarva-jnaatrtvam ca
By constraint on the separateness between the Sattva Guna and the Self, one gains omnipotence and omniscience.
Sattva is the balancing and virtuous aspect of the material modes of Nature (Gunas) which leads to goodness and truth. By separating and discriminating between Sattva Guna and the Witness Consciousness (the Purusha, the Self) which is beyond, and not affected by, the Gunas (Nirguna), one gains sovereignty (omnipotence and omniscience) over one’s consciousness
The Seer, in his/her pure state as unalloyed consciousness, as the Witness , is able to discern all things without being influenced by them. He/She is now in a position where he/she has insight into everything with the accompanying capability to influence everything according to his/her will.