Romans 3:20

3:20 For no one is declared righteous before him by the works of the law, for through the law comes the knowledge of sin.

Romans 7:7-11

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 7:10 and I died. So I found that the very commandment that was intended to bring life brought death! 7:11 For sin, seizing the opportunity through the commandment, deceived me and through it I died.

Galatians 2:19

2:19 For through the law I died to the law so that I may live to God.

Galatians 3:10-13

3:10 For all who rely on doing the works of the law are under a curse, because it is written, “Cursed is everyone who does not keep on doing everything written in the book of the law. 3:11 Now it is clear no one is justified before God by the law, because the righteous one will live by faith. 3:12 But the law is not based on faith, but the one who does the works of the law will live by them. 3:13 Christ redeemed us from the curse of the law by becoming a curse for us (because it is written, “Cursed is everyone who hangs on a tree”)