Bhagavad Gita 3.25

Chapter 3: The yoga of action

सक्ताः कर्मण्यविद्वांसो यथा कुर्वन्ति भारत ।
कुर्याद्विद्वांस्तथाऽसक्तश्चिकीर्षुर्लोकसङ्ग्रहम् ॥ २५ ॥

As the ignorant act from attachment to action, O Bhârata, so should the wise act without attachment, desiring the welfare of the world.

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