Bhagavad Gita 4.16

Chapter 4: Knowledge and the offering of action

किं कर्म किमकर्मेति कवयोऽप्यत्र मोहिताः ।
तत्ते कर्म प्रवक्ष्यामि यज्ज्ञात्वा मोक्ष्यसेऽशुभात् ॥ १६ ॥

"What is action, what inaction"? Even the wise are herein perplexed. Therefore I will declare to thee the action by knowing which thou shalt be loosed from evil.

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