Romans 7:15-16 — For that which I do I allow not: for what I would, that do I not; but what I hate, that do I.
If then I do that which I would not, I consent unto the law that it is good.
allow = know, understand — to recognize as a result of an experience. Paul is saying he doesn't understand the results and character of being sold under sin.
that do I not — "do" (here) should be "practice" — it's an ongoing activity to not do what he would
that do I — "do" (here) is a different word indicating mechanical acts without conscious aim.
law = moral excellence — Paul agrees with the law by disapproving what the law forbids. He acts contrary to the law but has a good opinion of it. His conflict isn't with the law but with sin.