kāmais tais tair hṛta-jñānāḥ prapadyante 'nya-devatāḥ taṁ taṁ niyamam āsthāya prakṛtyā niyatāḥ svayā

kamais tais tair hrta-jnanah
prapadyante 'nya-devatah
tam tam niyamam asthaya
prakrtya niyatah svaya
"Those whose minds are distorted by material desires surrender unto demigods and follow the particular rules and regulations of worship according to their own natures." (Bg. 7.20)
It is also stated in the Skanda Purana: