For the law was given through Moses, but grace and truth came through Jesus Christ. (John 1:17)

For what the law could not do in that it was weak through the flesh, God did by sending His own Son in the likeness of sinful flesh, on account of sin: He condemned sin in the flesh, that the righteous requirement of the law might be fulfilled in us who do not walk according to the flesh but according to the Spirit. (Romans 8:3-4)

Therefore the law was our tutor to bring us to Christ, that we might be justified by faith. (Galatians 3:24)

But that no one is justified by the law in the sight of God is evident, for “the just shall live by faith.” Yet the law is not of faith, but “the man who does them shall live by them.” Christ has redeemed us from the curse of the law, having become a curse for us (for it is written, “Cursed is everyone who hangs on a tree”), (Galatians 3:11-13)