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

James 4:17

To him therefore who knows to do good and doesn’t do it, to him it is sin.

Read in other translations