Bhagavad Gita 18.31
यया धर्ममधर्मं च कार्यं चाकार्यमेव च |
अयथवत्प्रजानाति बुद्धि: सा पार्थ राजसी
Translation
The intellect is considered in the mode of passion when it is confused between righteousness and unrighteousness, and cannot distinguish between right and wrong conduct, O Parth.