Bhagavad Gita Chapter 7.23
antavat tu phalaḿ teṣāḿ
tad bhavaty alpa-medhasām
devān deva-yajo yānti
mad-bhaktā yānti mām api
Translation
Men of small intelligence worship the demigods, and their fruits are limited and temporary.Those who worship the demigods go to the planets of the demigods, but My devotees ultimately reach My supreme planet.