Bhagavad Gita: Chapter 9, Verse 24

अहं हि सर्वयज्ञानां भोक्ता च प्रभुरेव च |
न तु मामभिजानन्ति तत्त्वेनातश्च्यवन्ति ते || 24||

ahaṁ hi sarva-yajñānāṁ bhoktā cha prabhureva cha
na tu mām abhijānanti tattvenātaśh chyavanti te

ahamI; hiverily; sarvaof all; yajñānāmsacrifices; bhoktāthe enjoyer; chaand; prabhuḥthe Lord; evaonly; chaand; nanot; tubut; māmMe; abhijānantirealize; tattvenadivine nature; ataḥtherefore; chyavantifall down (wander in samsara); tethey

aham hi sarva-yajnanam bhokta cha prabhureva cha
na tu mam abhijananti tattvenatash chyavanti te


BG 9.24: I am the enjoyer and the only Lord of all sacrifices. But those who fail to realize My divine nature must be reborn.


Shree Krishna now explains the drawback in worshipping the celestial gods.  By virtue of the powers bestowed upon them by the Supreme Lord, they do possess the ability to grant material favors, but they cannot liberate their devotees from the cycle of life and death.  They can only offer to others what they themselves possess.  When the celestial gods themselves are not liberated from samsara, then how can they release their devotees from it?  On the other hand, those whose understanding is proper offer their entire veneration at the feet of God Himself, and when their devotion reaches the stage of perfection, they go beyond the world of mortals to the divine Abode.