Śrīmad-Bhāgavatam · Text 7.6.26
Who is speaking and story frame
धर्मार्थकाम इति योऽभिहितस्त्रिवर्ग
ईक्षा त्रयी नयदमौ विविधा च वार्ता ।
मन्ये तदेतदखिलं निगमस्य सत्यं
स्वात्मार्पणं स्वसुहृद: परमस्य पुंस: ॥ २६ ॥
dharmārtha-kāma iti yo ’bhihitas tri-varga
īkṣā trayī naya-damau vividhā ca vārtā
manye tad etad akhilaṁ nigamasya satyaṁ
svātmārpaṇaṁ sva-suhṛdaḥ paramasya puṁsaḥ
Religion, economic development and sense gratification — these are described in the Vedas as tri-varga, or three ways to salvation. Within these three categories are education and self-realization; ritualistic ceremonies performed according to Vedic injunction; logic; the science of law and order; and the various means of earning one’s livelihood. These are the external subject matters of study in the Vedas, and therefore I consider them material. However, I consider surrender to the lotus feet of Lord Viṣṇu to be transcendental.
Read Śrīla Prabhupāda's purport on Vedabase.io