Bhagavad Gita 18.31
Chapter 18: Freedom through renunciation
यया धर्ममधर्मं च कार्यं चाकार्यमेव च ।
अयथावत्प्रजानाति बुद्धिः सा पार्थ राजसी ॥ ३१ ॥
That by which one understandeth away Right and Wrong and also what ought to be done and what ought not to be done, that Reason, O Pârtha, is passionate.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.