“just as Abraham “believed God, and it was counted to him as righteousness”?
Know then that it is those of faith who are the sons of Abraham. And the Scripture, foreseeing that God would justify the Gentiles by faith, preached the gospel beforehand to Abraham, saying, “In you shall all the nations be blessed.” So then, those who are of faith are blessed along with Abraham, the man of faith.”
(Galatians 3:6–9 ESV)
“But if, in our endeavor to be justified in Christ, we too were found to be sinners, is Christ then a servant of sin? Certainly not! For if I rebuild what I tore down, I prove myself to be a transgressor. For through the law I died to the law, so that I might live to God. I have been crucified with Christ. It is no longer I who live, but Christ who lives in me. And the life I now live in the flesh I live by faith in the Son of God, who loved me and gave himself for me. I do not nullify the grace of God, for if righteousness were through the law, then Christ died for no purpose.”
(Galatians 2:17–21 ESV)
“We ourselves are Jews by birth and not Gentile sinners; yet we know that a person is not justified by works of the law but through faith in Jesus Christ, so we also have believed in Christ Jesus, in order to be justified by faith in Christ and not by works of the law, because by works of the law no one will be justified.”
(Galatians 2:15–16 ESV)
Romans 4:13–25
“For the promise to Abraham and his offspring that he would be heir of the world did not come through the law but through the righteousness of faith.For if it is the adherents of the law who are to be the heirs, faith is null and the promise is void.For the law brings wrath, but where there is no law there is no transgression.
That is why it depends on faith, in order that the promise may rest on grace and be guaranteed to all his offspring—not only to the adherent of the law but also to the one who shares the faith of Abraham, who is the father of us all,as it is written, “I have made you the father of many nations”—in the presence of the God in whom he believed, who gives life to the dead and calls into existence the things that do not exist.In hope he believed against hope, that he should become the father of many nations, as he had been told, “So shall your offspring be.”He did not weaken in faith when he considered his own body, which was as good as dead (since he was about a hundred years old), or when he considered the barrenness of Sarah’s womb.No unbelief made him waver concerning the promise of God, but he grew strong in his faith as he gave glory to God,fully convinced that God was able to do what he had promised.That is why his faith was “counted to him as righteousness.”But the words “it was counted to him” were not written for his sake alone,but for ours also. It will be counted to us who believe in him who raised from the dead Jesus our Lord,who was delivered up for our trespasses and raised for our justification.”