Bhagavad Gita Chapter 18.31
yayā dharmam adharmaḿ ca
kāryaḿ cākāryam eva ca
ayathāvat prajānāti
buddhiḥ sā pārtha rājasī
Translation
O son of Pritha, that understanding which cannot distinguish between religion and irreligion, between action that should be done and action that should not be done, is in the mode of passion.