kim vidhatte kim acaste
kim anudya vikalpayet
ity asya hrdayam loke
nanyo mad veda kascana
mam vidhatte 'bhidhatte mam
vikalpyapohyate hy aham
sabda asthaya mam bhidam
kim—what; vidhatte—direct; kim—what; acaste—declare; kim—what; anudya—taking as the object; vikalpayet—may conjecture; iti—thus; asyah—of the Vedic literature; hrdayam—intention; loke—in this world; na—not; anyah—other; mat—than Me; veda—knows; kascana—anyone; mam—Me; vidhatte—they ordain; abhidhatte—set forth; mam—Me; vikalpya—speculating; aphyate—am fixed; hi—certainly; aham—I; etavan—of such measures; sarva-veda-arthah—the purport of the Vedas; sabdah—the Vedas; asthaya—taking shelter of; mam—Me; bhidam—different; maya—illusory energy; matram—only; anudya—saying; ante—at the end; pratisidhya—driving away; prasidati—gets satisfaction.
" 'What is the direction of all Vedic literatures? On whom do they set focus? Who is the purpose of all speculation? Outside of Me no one knows these things. Now you should know that all these activities are aimed at ordaining and setting forth Me. The purpose of Vedic literature is to know Me by different speculations, either by indirect understanding or by dictionary understanding. Everyone is speculating about Me. The essence of all Vedic literatures is to distinguish Me from maya. By considering the illusory energy, one comes to the platform of understanding Me. In this way one becomes free from speculation about the Vedas and comes to Me as the conclusion. Thus one is satisfied.'
These two verses are quoted from Srimad-Bhagavatam (11.21.42,43). When Uddhava asked Krsna about the purpose of Vedic speculation, the Lord informed him of the process of understanding Vedic literature. The Vedas are composed of karma-kanda, jnana-kanda and upasana-kanda. If one analytically studies the purpose of the Vedas, he understands that by karma-kanda, sacrificial activity, one comes to the conclusion of jnana-kanda, speculative knowledge. After speculation, one comes to the conclusion that worship of the Supreme Personality of Godhead is the ultimate. When one comes to this conclusion, he becomes fully satisfied.
Link to this page: https://prabhupadabooks.com/cc/madhya/20/147-148