Bhagavad Gita 2.49

दूरेण ह्यवरं कर्म बुद्धियोगाद्धञ्जय |
बुद्धौ शरणमन्विच्छ कृपा: फलहेतव:

Translation

Seek refuge in divine knowledge and insight, O Arjun, and discard reward-seeking actions that are certainly inferior to works performed with the intellect established in divine knowledge. Miserly are those who seek to enjoy the fruits of their works.