BG Chap 9 - The mistake of the demigods worshippers
Kṛṣṇa alone, thru the forms of Indra and others, is the enjoyer and master of all sacrifices. Those who do not know this fall down and continue to take birth. Such persons consider their chosen devatā as Supreme and the giver of results of their worship. Thus lacking true knowledge about Kṛṣṇa, they return to this world. But those who worship the Lord as the form of the universe, understanding that they are worshiping Nārāyaṇa, the Supreme Lord thru the form of the sun and other devatās, attain liberation. One can worship the devatās understanding that they are vibhūtis of the Lord. Demigod worshippers, after great endeavor to follow the Vedas simply fall down to material existence and do not achieve the desired goal of life.