Bhagavad Gita 3.25

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

saktāḥ karmaṇyavidvāṃso yathā kurvanti bhāratakuryādvidvāṃstathāsaktaśicakīrṣurlokasaṃgraham

As the ignorant act out of attachment to action, O Bharata, so should the wise act without attachment, wishing for the welfare of the world.

गीता