Bhagavad Gita 7.20

कामैस्तैस्तैर्हृतज्ञानाः प्रपद्यन्तेऽन्यदेवताः।तं तं नियममास्थाय प्रकृत्या नियताः स्वया ॥७.२०॥

kāmaistaistairhṛtajñānāḥ prapadyante’nyadevatāḥtaṃ taṃ niyamamāsthāya prakṛtyā niyatāḥ svayā

Those whose wisdom has been taken away by this or that desire, go to other gods, following this or that rite, led by their own nature.

गीता