A nd he believed in (trusted in, relied on, remained steadfast to) the Lord, and He counted it to him as righteousness (right standing with God).
He believed in Yahweh, who credited it to him for righteousness.