It was not through the law that Abraham and his offspring received the promise that he would be heir of the world, but through the righteousness that comes by faith.
For if those who depend on the law are heirs, faith means nothing and the promise is worthless,
because the law brings wrath. And where there is no law there is no transgression.
Therefore, the promise comes by faith, so that it may be by grace and may be guaranteed to all Abraham’s offspring—not only to those who are of the law but also to those who have the faith of Abraham. He is the father of us all.
As it is written: “I have made you a father of many nations.” He is our father in the sight of God, in whom he believed—the God who gives life to the dead and calls into being things that were not.
Against all hope, Abraham in hope believed and so became the father of many nations, just as it had been said to him, “So shall your offspring be.”
Without weakening in his faith, he faced the fact that his body was as good as dead—since he was about a hundred years old—and that Sarah’s womb was also dead.
Yet he did not waver through unbelief regarding the promise of God, but was strengthened in his faith and gave glory to God,
being fully persuaded that God had power to do what he had promised.
This is why “it was credited to him as righteousness.”