Bhagavad Gita 3.34

Chapter 3: The yoga of action

इन्द्रियस्येन्द्रियस्यार्थे रागद्वेषौ व्यवस्थितौ ।
तयोर्न वशमागच्छेत्तौ ह्यस्य परिपन्थिनौ ॥ ३४ ॥

Affection and aversion for the objects of sense abide in the senses; let none come under the dominion of these two; they are obstructors of the path.

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