So also Abraham “believed God, and it was credited to him as righteousness.”
Understand, then, that those who have faith are children of Abraham.
Scripture foresaw that God would justify the Gentiles by faith, and announced the gospel in advance to Abraham: “All nations will be blessed through you.”
So those who rely on faith are blessed along with Abraham, the man of faith.
For all who rely on the works of the law are under a curse, as it is written: “Cursed is everyone who does not continue to do everything written in the Book of the Law.”
Clearly no one who relies on the law is justified before God, because “the righteous will live by faith.”
The law is not based on faith; on the contrary, it says, “The person who does these things will live by them.”