H e believed in Yahweh, who credited it to him for righteousness.
Then Abram believed in the Lord, and that made him right with God.