Romans 4:22

This is why “it was credited to him as righteousness.”

Note Genesis 15:6

BSB · Berean Standard Bible
And therefore it was imputed to him for righteousness.
KJV · King James Version
Therefore it also was “credited to him for righteousness.”
WEB · World English Bible
Wherefore also it was reckoned unto him for righteousness.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

it was imputed
Romans 4:3, 6