Romans 7:7-9
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.
7:9 And I was once alive apart from the law, but with the coming of the commandment sin became alive
Galatians 2:19
2:19 For through the law I died to the law so that I may live to God.