Romans 12:2 Amplified Bible (AMP)
2 And do not be conformed to this world [any longer with its superficial values and customs], but be [a]transformed and progressively changed [as you mature spiritually] by the renewing of your mind [focusing on godly values and ethical attitudes], so that you may prove [for yourselves] what the will of God is, that which is good and acceptable and perfect [in His plan and purpose for you].
When the mind and thoughts have been renewed by the word of God, a part of the soul has been transformed as we begin to have God's thoughts and not ours is when our will and emotions are inexorably subject to the will of God.