Yoga Sutras of Patanjali · 2.33
वितर्कबाधने प्रतिपक्षभावनम् ॥३३॥
vitarka-bādhane pratipakṣa-bhāvanam
When troubled by perverse thoughts, cultivate their opposites.
— Yoga Sutras of Patanjali 2.33
Source: Sanskrit attributed to Patanjali (c. 2nd century BCE – 4th century CE). Public-domain English readings drawn from Swami Vivekananda's 'Raja Yoga' (1896) and Charles Johnston's 'The Yoga Sutras of Patanjali' (1912).