Bhagavad-gītā 9.25
BG 9.25
Open the full passageयान्ति देवव्रता देवान्पितॄन्यान्ति पितृव्रताः । भूतानि यान्ति भूतेज्या यान्ति मद्याजिनोऽपि माम् ॥२५॥
Sanskrit
yānti deva-vratā devān pitṟn yānti pitṛ-vratāḥ bhūtāni yānti bhūtejyā yānti mad-yājino 'pi mām
Translation
Those who worship the demigods will take birth among the demigods; those who worship the ancestors go to the ancestors; those who worship ghosts and spirits will take birth among such beings; and those who worship Me will live with Me.