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

James 4:17

Therefore to him that knoweth to do good, and doeth it not, to him it is sin.

Read in other translations