Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
WEB

James 2:6

But you have dishonored the poor man. Don’t the rich oppress you and personally drag you before the courts?

Read in other translations