I think the point of Romans 7 and 8 is something like this. In chapter 6 Paul reasons that it is necessary for me to cease living to sin and in sin, because I have died to sin in Christ and have been raised to new life in Him.
Righteous living is a necessity.
This is because sin is more powerful than my flesh. I don't have the power to do what the law requires, and what I want to do, agreeing with the law. The answer is given in the first verses of chapter 8. All rights reserved.