Bhagavad Gita 18.51

Chapter 18: Freedom through renunciation

बुद्ध्या विशुद्धया युक्तो धृत्याऽऽत्मानं नियस्य च ।
शब्दादीन्विषयांस्त्यक्त्वा रागद्वेषौ व्युदस्य च ॥ ५१ ॥

United to this Reason, purified, controlling the self by firmness, having abandoned sound and the other objects of the senses, having laid aside passion and malice,

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.