Please read the entire chapter 7 of Romans. Here it is in part, since you have not referred to it.
Rom 7:14
For we know that the law is spiritual: but I am carnal, sold under sin.
Rom 7:15
For that which I do I know not: for not what I would, that do I practise; but what I hate, that I do.
Rom 7:16
But if what I would not, that I do, I consent unto the law that it is good.
Rom 7:17
So now it is no more I that do it, but sin which dwelleth in me.
Rom 7:18
For I know that in me, that is, in my flesh, dwelleth no good thing: for to will is present with me, but to do that which is good is not.
Rom 7:19
For the good which I would I do not: but the evil which I would not, that I practise.
Rom 7:20
But if what I would not, that I do, it is no more I that do it, but sin which dwelleth in me.
Rom 7:21
I find then the law, that, to me who would do good, evil is present.
Rom 7:22
For I delight in the law of God after the inward man:
Rom 7:23
but I see a different law in my members, warring against the law of my mind, and bringing me into captivity under the law of sin which is in my members.
Rom 7:24
Wretched man that I am! who shall deliver me out of the body of this death?
Rom 7:25
I thank God through Jesus Christ our Lord. So then I of myself with the mind, indeed, serve the law of God; but with the flesh the law of sin.
--
Rom 7:14
For we know that the law is spiritual: but I am carnal, sold under sin.
Rom 7:15
For that which I do I know not: for not what I would, that do I practise; but what I hate, that I do.
Rom 7:16
But if what I would not, that I do, I consent unto the law that it is good.
Rom 7:17
So now it is no more I that do it, but sin which dwelleth in me.
Rom 7:18
For I know that in me, that is, in my flesh, dwelleth no good thing: for to will is present with me, but to do that which is good is not.
Rom 7:19
For the good which I would I do not: but the evil which I would not, that I practise.
Rom 7:20
But if what I would not, that I do, it is no more I that do it, but sin which dwelleth in me.
Rom 7:21
I find then the law, that, to me who would do good, evil is present.
Rom 7:22
For I delight in the law of God after the inward man:
Rom 7:23
but I see a different law in my members, warring against the law of my mind, and bringing me into captivity under the law of sin which is in my members.
Rom 7:24
Wretched man that I am! who shall deliver me out of the body of this death?
Rom 7:25
I thank God through Jesus Christ our Lord. So then I of myself with the mind, indeed, serve the law of God; but with the flesh the law of sin.
--