Śrīmad-Bhāgavatam · Text 3.29.32
Who is speaking and story frame
अर्थज्ञात्संशयच्छेत्ता तत: श्रेयान्स्वकर्मकृत् ।
मुक्तसङ्गस्ततो भूयानदोग्धा धर्ममात्मन: ॥ ३२ ॥
artha-jñāt saṁśaya-cchettā
tataḥ śreyān sva-karma-kṛt
mukta-saṅgas tato bhūyān
adogdhā dharmam ātmanaḥ
Better than the brāhmaṇa who knows the purpose of the Vedas is he who can dissipate all doubts, and better than him is one who strictly follows the brahminical principles. Better than him is one who is liberated from all material contamination, and better than him is a pure devotee, who executes devotional service without expectation of reward.
Read Śrīla Prabhupāda's purport on Vedabase.io