Bhagavad Gita 9.25
The votaries of the lesser powers go to them; the devotees of spirits go to them; they who worship the powers of darkness, to such powers shall they go; and so too, those who worship me shall come to me.
यान्ति देवव्रता देवान् पितृ़न्यान्ति पितृव्रताः।
भूतानि यान्ति भूतेज्या यान्ति मद्याजिनोऽपि माम्॥yānti devavratā devān pitṛ़nyānti pitṛvratāḥ|
bhūtāni yānti bhūtejyā yānti madyājino'pi mām||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).