Bhagavad Gita 4.33
Chapter 4: Knowledge and the offering of action
श्रेयान्द्रव्यमयाद्यज्ञाज्ज्ञानयज्ञः परन्तप ।
सर्वं कर्माखिलं पार्थ ज्ञाने परिसमाप्यते ॥ ३३ ॥
Better than the sacrifice of any objects is the sacrifice of wisdom, O Parantapa. All actions in their entirety, O Pârtha, culminate in wisdom.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.