Bhagavad Gita 7.23

Chapter 7: Knowledge and realisation

अन्तवत्तु फलं तेषां तद्भवत्यल्पमेधसाम् ।
देवान्देवयजो यान्ति मद्भक्ता यान्ति मामपि ॥ २३ ॥

Finite indeed the fruit that belongeth to those who are of small intelligence. To the Shining Ones go the worshippers of the Shining Ones, but my devotees come unto Me.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.