The carnal mind is enmity against God. The carnal mind is controlled by thoughts of rebellion against the will of God. That is true until one repents and believes on the Lord Jesus Christ. The carnal mind has no peace with God. The carnal mind is enmity against God; for it is not subject to the law of God, nor indeed can be (Romans 8:7).
Therefore, having been justified by faith, we have peace with God through our Lord Jesus Christ (Romans 5:1). Having been justified in Christ means "our hope is built on nothing less than Jesus blood and righteousness." We are righteous in Christ alone. That means we have no enmity against God. We have peace with God, by grace through faith in Christ.
We have peace with God through faith in Christ, according to the gospel. The carnal mind is transformed by the renewing of the Holy Spirit. Be not conformed to this world, but be transformed by the renewing of your mind, that you may prove what is that good and acceptable and perfect will of God (Romans 12:2).
Having been justified by faith in Christ, the carnal mind is transformed. Enmity against God is transformed into peace with God through our Lord Jesus Christ. The transformed mind experiences repentance. The word repent means a change of mind. The mind transformed is no longer at enmity against God.