Bhagavad Gita 12.12

श्रेयो हि ज्ञानमभ्यासज्ज्ञध्यानं विशिष्यते |
ध्यानात्कर्मफलत्यागस्त्यगाच्छन्तिरनन्तरम्

Translation

Better than mechanical practice is knowledge; better than knowledge is meditation. Better than meditation is renunciation of the fruits of actions, for peace immediately follows such renunciation.