Śrīmad-Bhāgavatam · Text 6.16.38
Who is speaking and story frame
विषयतृषो नरपशवो
य उपासते विभूतीर्न परं त्वाम् ।
तेषामाशिष ईश
तदनु विनश्यन्ति यथा राजकुलम् ॥ ३८ ॥
viṣaya-tṛṣo nara-paśavo
ya upāsate vibhūtīr na paraṁ tvām
teṣām āśiṣa īśa
tad anu vinaśyanti yathā rāja-kulam
O Lord, O Supreme, unintelligent persons who thirst for sense enjoyment and who worship various demigods are no better than animals in the human form of life. Because of their animalistic propensities, they fail to worship Your Lordship, and instead they worship the insignificant demigods, who are but small sparks of Your glory. With the destruction of the entire universe, including the demigods, the benedictions received from the demigods also vanish, just like the nobility when a king is no longer in power.
Read Śrīla Prabhupāda's purport on Vedabase.io