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

James 2:25

Likewise also was not Rahab the harlot justified by works, when she had received the messengers, and had sent them out another way?

Read in other translations