Bhagavad Gita 3.25
As the ignorant act, out of their fondness for action, so should the wise act without attachment, fixing their eyes, O Arjuna, only on the welfare of the world.
सक्ताः कर्मण्यविद्वांसो यथा कुर्वन्ति भारत।
कुर्याद्विद्वांस्तथासक्तश्िचकीर्षुर्लोकसंग्रहम्॥saktāḥ karmaṇyavidvāṃso yathā kurvanti bhārata|
kuryādvidvāṃstathāsaktaśicakīrṣurlokasaṃgraham||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).