James 2:23

21 Was not Abraham our father justified by works, when he had offered Isaac his son upon the altar?

22 Seest thou how faith wrought with his works, and by works was faith made perfect?

And the scripture was fulfilled which saith, Abraham believed God, and it was imputed unto him for righteousness: and he was called the Friend of God.

24 Ye see then how that by works a man is justified, and not by faith only.

25 Likewise also was not Rahab the harlot justified by works, when she had received the messengers, and had sent them out another way?

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
And the Scripture was fulfilled that says, “Abraham believed God, and it was credited to him as righteousness,” and he was called a friend of God.
KJV
And the scripture was fulfilled which saith, Abraham believed God, and it was imputed unto him for righteousness: and he was called the Friend of God.
WEB
So the Scripture was fulfilled which says, “Abraham believed God, and it was accounted to him as righteousness,” and he was called the friend of God.
ASV
and the scripture was fulfilled which saith, And Abraham believed God, and it was reckoned unto him for righteousness; and he was called the friend of God.
DARBY
And the scripture was fulfilled which says, Abraham believed God, and it was reckoned to him as righteousness, and he was called Friend of God.
BLB
And the Scripture was fulfilled, the one saying, “And Abraham believed God, and it was reckoned to him for righteousness,” and he was called a friend of God.
ÅB
og Skriften ble oppfylt, som sier: Abraham trodde Gud, og det ble regnet ham til rettferdighet, og han ble kalt Guds venn.
OTB
Og skriften ble oppfylt som sier, "Abraham trodde Gud, og det ble regnet ham som rettferdighet," og han ble kalt en venn av Gud.
B1930
og Skriften blev opfylt, som sier: Abraham trodde Gud, og det blev regnet ham til rettferdighet, og han blev kalt Guds venn.

Study notes (Tyndale)

Original text and word study

Cross references