Galatians 3:6

4 Have ye suffered so many things in vain? if it be yet in vain.

5 He therefore that ministereth to you the Spirit, and worketh miracles among you, doeth he it by the works of the law, or by the hearing of faith?

Even as Abraham believed God, and it was accounted to him for righteousness.

7 Know ye therefore that they which are of faith, the same are the children of Abraham.

8 And the scripture, foreseeing that God would justify the heathen through faith, preached before the gospel unto Abraham, saying, In thee shall all nations be blessed.

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

Compare

BSB
So also, “Abraham believed God, and it was credited to him as righteousness.”
KJV
Even as Abraham believed God, and it was accounted to him for righteousness.
WEB
Even so, Abraham “believed God, and it was counted to him for righteousness.”
ASV
Even as Abraham believed God, and it was reckoned unto him for righteousness.
DARBY
Even as Abraham believed God, and it was reckoned to him as righteousness.
BLB
just as, “Abraham believed God and it was reckoned to him for righteousness”?
ÅB
Slik som Abraham trodde Gud, og det ble regnet ham til rettferdighet.
OTB
Slik som Abraham trodde Gud, og det ble regnet ham til rettferdighet.
B1930
Likesom Abraham trodde Gud, og det blev regnet ham til rettferdighet.

Study notes (Tyndale)

Original text and word study

Cross references