So that’s why “he was accepted as one who is right with God.”
David said the same thing when he was talking about the blessing people have when God accepts them as good without looking at what they have done:
That’s why the Scriptures say, “Abraham believed God, and because of this he was accepted as one who is right with God.”
Abram believed the Lord, and because of this faith the Lord accepted him as one who has done what is right.