Galatians 3:7-12
3:7 so then, understand that those who believe are the sons of Abraham.
3:8 And the scripture, foreseeing that God would justify the Gentiles by faith, proclaimed the gospel to Abraham ahead of time, saying, “All the nations will be blessed in you.”
3:9 So then those who believe are blessed along with Abraham the believer.
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.
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.