Joshua 23:1

Now it came to pass, a long time after the LORD had given rest to Israel from all their enemies round about, that Joshua was old, advanced in age.