Bhagavad Gita 7.23

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

antavattu phalaṃ teṣāṃ tadbhavatyalpamedhasāmdevāndevayajo yānti madbhaktā yānti māmapi

Verily, the reward (fruit) that accrues to those men of small intelligence is finite. The worshippers of the gods go to them, whereas My devotees come to Me.

गीता