Śrīmad-Bhāgavatam · Text 11.3.44
Who is speaking and story frame
परोक्षवादो वेदोऽयं बालानामनुशासनम् ।
कर्ममोक्षाय कर्माणि विधत्ते ह्यगदं यथा ॥ ४४ ॥
parokṣa-vādo vedo ’yaṁ
bālānām anuśāsanam
karma-mokṣāya karmāṇi
vidhatte hy agadaṁ yathā
Childish and foolish people are attached to materialistic, fruitive activities, although the actual goal of life is to become free from such activities. Therefore, the Vedic injunctions indirectly lead one to the path of ultimate liberation by first prescribing fruitive religious activities, just as a father promises his child candy so that the child will take his medicine.
Read the purport on Vedabase.ioFrom Canto 10, chapter 14 onward, the translation and purports were completed by Śrīla Prabhupāda's disciples after his departure, and published by the Bhaktivedanta Book Trust.