Romans 8:1-2 says there is no condemnation of those who walk, “…according to the Spirit. For the law of the Spirit of life in Christ Jesus has made me free from the law of sin and death.”
When we walk in the Spirit, He resists our flesh. Verse 5 is the contrast of what we were in our flesh before salvation, then what we are afterwards. It says, “For those who live according to the flesh set their minds on the things of the flesh, but those who live according to the Spirit, the things of the Spirit.”
Verse 11 is a great one to memorize. It says, “But if the Spirit of Him who raised Jesus from the dead dwells in you, He who raised Christ from the dead will also give life to your mortal bodies through His Spirit who dwells in you.”
The indwelling Spirit is the One that guides us into all truth. Truth and sin oppose each other. John 8:36 says, “Therefore if the Son makes you free, you shall be free indeed.” Inner freedom comes from experiential truth.