James 2:8

6 But ye have despised the poor. Do not rich men oppress you, and draw you before the judgment seats?

7 Do not they blaspheme that worthy name by the which ye are called?

If ye fulfil the royal law according to the scripture, Thou shalt love thy neighbour as thyself, ye do well:

9 But if ye have respect to persons, ye commit sin, and are convinced of the law as transgressors.

10 For whosoever shall keep the whole law, and yet offend in one point, he is guilty of all.

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

Compare

BSB
If you really fulfill the royal law stated in Scripture, “Love your neighbor as yourself,” you are doing well.
KJV
If ye fulfil the royal law according to the scripture, Thou shalt love thy neighbour as thyself, ye do well:
WEB
However, if you fulfill the royal law according to the Scripture, “You shall love your neighbor as yourself,” you do well.
ASV
Howbeit if ye fulfil the royal law, according to the scripture, Thou shalt love thy neighbor as thyself, ye do well:
DARBY
If indeed ye keep [the] royal law according to the scripture, Thou shalt love thy neighbour as thyself, ye do well.
BLB
If indeed you⁺ fulfill the royal law according to the Scripture, “You shall love your neighbor as yourself,” you⁺ are doing well.
ÅB
Dersom dere oppfyller den kongelige loven etter Skriften: Du skal elske din neste som deg selv, da gjør dere godt;
OTB
Hvis dere virkelig holder den kongelige loven som finnes i Skriften, "Elsk din neste som deg selv," gjør dere det godt.
B1930
Visselig, dersom I opfyller den kongelige lov efter Skriften: Du skal elske din næste som dig selv, da gjør I vel;

Study notes (Tyndale)

Original text and word study

Cross references