Chapter 9 · The Royal Secret · Krishna said
Bhagavad Gita 9.25 — As you worship, you reach
यान्ति देवव्रता देवान्पितॄन्यान्ति पितृव्रताः। भूतानि यान्ति भूतेज्या यान्ति मद्याजिनोऽपि माम् ॥
yānti devavratā devānpitṝnyānti pitṛvratāḥ | bhūtāni yānti bhūtejyā yānti madyājino'pi mām ||
Meaning
Those devoted to the gods go to the gods; those devoted to the ancestors go to the ancestors; worshippers of spirits go to the spirits; and those who worship me come to me.