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

Joshua 9:3

And when the inhabitants of Gibeon heard what Joshua had done unto Jericho and to Ai,

Read in other translations