Śrīmad-Bhāgavatam · Text 4.13.34
Who is speaking and story frame
तांस्तान् कामान् हरिर्दद्याद्यान् यान् कामयते जन: ।
आराधितो यथैवैष तथा पुंसां फलोदय: ॥ ३४ ॥
tāṁs tān kāmān harir dadyād
yān yān kāmayate janaḥ
ārādhito yathaivaiṣa
tathā puṁsāṁ phalodayaḥ
The performer of the sacrifices [under karma-kāṇḍa activities] achieves the fulfillment of the desire for which he worships the Lord.
Read Śrīla Prabhupāda's purport on Vedabase.io