Bhagavad Gita Chapter 18.30
pravṛttiḿ ca nivṛttiḿ ca
kāryākārye bhayābhaye
bandhaḿ mokṣaḿ ca yā vetti
buddhiḥ sā pārtha sāttvikī
Translation
O son of Pritha, that understanding by which one knows what ought to be done and what ought not to be done, what is to be feared and what is not to be feared, what is binding and what is liberating, is in the mode of goodness.