Bhagavad Gita 18.30
प्रवृत्तिंच निवृत्तिं च कार्यकार्ये भयाभये |
बंधं मोक्षं च या वेत्तिबुद्धि: सा पार्थ सात्त्विकी
Translation
The intellect is said to be in the nature of goodness, O Parth, when it understands what is proper action and improper action, what is duty and non-duty, what is to be feared and what is not to be feared, what is binding and what is liberating.