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

James 2:4

haven’t you shown partiality among yourselves, and become judges with evil thoughts?

Read in other translations