Bhagavad Gita · 6.46
तपस्विभ्योऽधिको योगी ज्ञानिभ्योऽपि मतोऽधिकः।कर्मिभ्यश्चाधिको योगी तस्माद्योगी भवार्जुन॥
tapasvibhyo 'dhiko yogī jñānibhyo 'pi mato 'dhikaḥ karmibhyaśh chādhiko yogī tasmād yogī bhavārjuna
The yogi is considered superior to ascetics, superior even to scholars, and superior to ritualists. Therefore, O Arjuna, become a yogi.
— Bhagavad Gita 6.46
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)