Galatians 3:10-11

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.

Galatians 3:19

3:19 Why then was the law given? It was added because of transgressions, until the arrival of the descendant to whom the promise had been made. It was administered through angels by an intermediary.

Galatians 3:22

3:22 But the scripture imprisoned everything and everyone under sin so that the promise could be given – because of the faithfulness of Jesus Christ – to those who believe.