Galatians 3:8

8 And the scripture, foreseeing that God would justify the Gentiles by faith, declared the gospel beforehand to Abraham, saying, "All the Gentiles shall be blessed in you."

Galatians 3:8 In-Context

6 Just as Abraham "believed God, and it was reckoned to him as righteousness,"
7 so, you see, those who believe are the descendants of Abraham.
8 And the scripture, foreseeing that God would justify the Gentiles by faith, declared the gospel beforehand to Abraham, saying, "All the Gentiles shall be blessed in you."
9 For this reason, those who believe are blessed with Abraham who believed.
10 For all who rely on the works of the law are under a curse; for it is written, "Cursed is everyone who does not observe and obey all the things written in the book of the law."
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.