Chapter 18 · Liberation through Renunciation · Krishna said
Bhagavad Gita 18.51 — The seeker's discipline
बुद्ध्या विशुद्धया युक्तो धृत्यात्मानं नियम्य च। शब्दादीन्विषयांस्त्यक्त्वा रागद्वेषौ व्युदस्य च ॥
buddhyā viśuddhayā yukto dhṛtyātmānaṃ niyamya ca | śabdādīnviṣayāṃstyaktvā rāgadveṣau vyudasya ca ||
Meaning
Endowed with a pure intellect, controlling the mind with firmness, turning away from sound and other sense objects, and casting off likes and dislikes —