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

Judges 2:21

I also will not henceforth drive out any from before them of the nations which Joshua left when he died:

Read in other translations