Romans 12:1-2 Therefore, I urge you, brothers and sisters, in view of God's mercy, to offer your bodies as a living sacrifice, holy and pleasing to God--this is your true and proper worship.
Do not conform to the pattern of this world, but be transformed by the renewing of your mind. Then you will be able to test and approve what God's will is--his good, pleasing and perfect will.
By the renewing of your mind. Ellicott's Commentary for English Readers “The mind” (i.e., the mental faculties, reason, or understanding) is in itself neutral. When informed by an evil principle, it becomes an instrument of evil; (Rom. 1:28) when informed by the Spirit, it is an instrument of good. (Gal. 5:16)