Joshua 23:1

Amplified Bible (AMP)
A long time after that, when the Lord had given Israel rest from all their enemies [a]on every side, and Joshua had grown old and [b]advanced in years,

Read Joshua 23:1 in other translations