Bhagavad Gita Chapter 3.25
saktāḥ karmaṇy avidvāḿso
yathā kurvanti bhārata
kuryād vidvāḿs tathāsaktaś
cikīrṣur loka-sańgraham
Translation
As the ignorant perform their duties with attachment to results, the learned may similarly act, but without attachment, for the sake of leading people on the right path.