Bhagavad Gita 2.49

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

dūreṇa hyavaraṃ karma buddhiyogāddhanañjayabuddhau śaraṇamanviccha kṛpaṇāḥ phalahetavaḥ

Far lower than the Yoga of wisdom is action, O Arjuna. Seek thou refuge in wisdom; wretched are those whose motive is the fruit.

गीता