Romans 7:5-7
7:5 For when we were in the flesh, the sinful desires, aroused by the law, were active in the members of our body to bear fruit for death.
7:6 But now we have been released from the law, because we have died to what controlled us, so that we may serve in the new life of the Spirit and not under the old written code.
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.”