Deuteronomy 34:7-9 New International Version - UK (NIVUK)
7 Moses was a hundred and twenty years old when he died, yet his eyes were not weak nor his strength gone. 8 The Israelites grieved for Moses in the plains of Moab thirty days, until the time of weeping and mourning was over.
9 Now Joshua son of Nun was filled with the spirit[a] of wisdom because Moses had laid his hands on him. So the Israelites listened to him and did what the Lord had commanded Moses.