Romans 7:7

7:7 What shall we say then? Is the law sin? Absolutely not! Certainly, I would not have known sin except through the law. For indeed I would not have known what it means to desire something belonging to someone else if the law had not said, “Do not covet.”

Romans 7:12-13

7:12 So then, the law is holy, and the commandment is holy, righteous, and good.

7:13 Did that which is good, then, become death to me? Absolutely not! But sin, so that it would be shown to be sin, produced death in me through what is good, so that through the commandment sin would become utterly sinful.