Bhagavad Gita: Chapter 2, Verse 49

दूरेण ह्यवरं कर्म बुद्धियोगाद्धनञ्जय ।
बुद्धौ शरणमन्विच्छ कृपणाः फलहेतवः ॥ २-४९ ॥

dūreṇa hy avaraṁ karma buddhi-yogād dhanañ-jaya
buddhau śaranam anviccha kṛpaṇāḥ phala-hetavaḥ 2.49

O Dhanañjaya, keep all abominable activities far distant by seeking refuge in divine knowledge, and in that consciousness surrender yourself. Those who want to enjoy the fruits of their work are misers.