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

James 1:2

Count it all joy, my brothers, when you fall into various temptations,

Read in other translations