Bhagavad Gita 18.10

Chapter 18: Freedom through renunciation

न द्वेष्ट्यकुशलं कर्म कुशले नानुषज्जते ।
त्यागी सत्त्वसमाविष्टो मेधावी छिन्नसंशयः ॥ १० ॥

The relinquisher pervaded by purity, intelligent and with doubts cut away, hateth not unpleasurable action nor is attached to pleasurable.

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