Genesis 15:6

Amplified Bible (AMP)
Then Abram believed in (affirmed, trusted in, relied on, remained steadfast to) the Lord; and He counted (credited) it to him [b]as righteousness (doing right in regard to God and man).

Read Genesis 15:6 in other translations