Bhagavad Gita 18.3
Chapter 18: Freedom through renunciation
त्याज्यं दोषवदित्येके कर्म प्राहुर्मनीषिणः ।
यज्ञदानतपः कर्म न त्याज्यमिति चापरे ॥ ३ ॥
"Action should be relinquished as an evil," declare some thoughtful men; "acts of sacrifice, gift and austerity should not be relinquished," say others.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.