James 2:23

23 And the scripture was fulfilled that says, “Abraham believed God, and it was credited to him as righteousness,”a and he was called God’s friend.

Read James 2:23 Using Other Translations

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.
and the Scripture was fulfilled that says, "Abraham believed God, and it was counted to him as righteousness"--and he was called a friend of God.
And so it happened just as the Scriptures say: “Abraham believed God, and God counted him as righteous because of his faith.” He was even called the friend of God.