Romans 8 tells us that we are freed from the law, and Paul calls it the law of sin and death.
Paul says that there is no condemnation for those who are in Christ Jesus. There is a new law; the law of the Spirit. The law of the Spirit is a law of life that sets us free in Christ Jesus from the old law, the law of sin and death. For God had done what the law, which was weakened by the flesh, could not do.
God sent His only Son in the likeness of our sinful bodies, and Christ condemned sin itself while he was in flesh. By doing so, the requirement of righteousness described by the law was fulfilled. Christ came to fulfill that law.
Now, we walk according to the Spirit and are not to be concerned about things of the flesh. Those who live according to the law, the things that they do to produce their own righteousness, have set their minds upon requirements of the law that Paul called the law of sin and death. Those who set their minds on the Spirit have peace and life!
Paul is by no means accepting of those who try to continue walking daily in the law. Those who set their mind on the flesh have set their mind on death and are hostile towards God. They cannot please God because they can never submit themselves fully to the law.
As Christians, we are not in the flesh. We are not instructed to claim our righteousness by the way we live our lives and continue walking in the flesh. If the Spirit of God dwells within us, we walk in the Spirit. Paul said anyone who does not do this does not belong to Christ.
If Christ is in us, then the body is dead because of sin. We cannot refrain from sin, so our bodies are dead already. The Spirit is life, because the Spirit is righteousness. If the Spirit of God, who raised Jesus from the dead dwells in us, then that same Spirit will give life to our mortal bodies through His Spirit that is dwelling within us!
As Christians, we should ask ourselves: Do we try to please God and claim righteousness by the way we live our lives when it is hostile to God? Do we walk in sin and death? Or do we walk in the Spirit of God, which brings life and peace? Do we try to hold up these bodies dead from sin or do we let them go to walk in the Spirit? Does His Spirit dwell within us?