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

Joshua 9:20

This we will do to them; we will even let them live, lest wrath be upon us, because of the oath which we sware unto them.

Read in other translations