Śrīmad-Bhāgavatam · Text 4.31.12
Who is speaking and story frame
किं वा योगेन साङ्ख्येन न्यासस्वाध्याययोरपि ।
किं वा श्रेयोभिरन्यैश्च न यत्रात्मप्रदो हरि: ॥ १२ ॥
kiṁ vā yogena sāṅkhyena
nyāsa-svādhyāyayor api
kiṁ vā śreyobhir anyaiś ca
na yatrātma-prado hariḥ
Transcendental practices that do not ultimately help one realize the Supreme Personality of Godhead are useless, be they mystic yoga practices, the analytical study of matter, severe austerity, the acceptance of sannyāsa, or the study of Vedic literature. All these may be very important aspects of spiritual advancement, but unless one understands the Supreme Personality of Godhead, Hari, all these processes are useless.
Read Śrīla Prabhupāda's purport on Vedabase.io