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

Joshua 23:1

After many days, when Yahweh had given rest to Israel from their enemies all around, and Joshua was old and well advanced in years,

Read in other translations