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

Joshua 24:21

And the people said unto Joshua, Nay; but we will serve the Lord.

Read in other translations