Bhagavad Gita · 12.12
श्रेयो हि ज्ञानमभ्यासाज्ज्ञानाद्ध्यानं विशिष्यते।ध्यानात्कर्मफलत्यागस्त्यागाच्छान्तिरनन्तरम्॥
śhreyo hi jñānam abhyāsāj jñānād dhyānaṁ viśhiṣhyate dhyānāt karma-phala-tyāgas tyāgāch chhāntir anantaram
Knowledge is indeed better than mechanical practice; meditation is superior to knowledge; renunciation of the fruits of action is better than meditation — for peace immediately follows renunciation.
— Bhagavad Gita 12.12
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)