Romans 7:6-8

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.” 7:8 But sin, seizing the opportunity through the commandment, produced in me all kinds of wrong desires. For apart from the law, sin is dead.