And the scripture, foreseeing that God would justify the heathen through faith, preached before the gospel unto Abraham, saying, In thee shall all nations be blessed.
The Bible knew that God would save non-Jews by their belief, so it told Abraham ahead of time that he would bring happiness to everyone in the world.