Galatians 3:8-10
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.”
Galatians 3:23
Sons of God Are Heirs of Promise
3:23 Now before faith came we were held in custody under the law, being kept as prisoners until the coming faith would be revealed.