until the Lord gives your brothers rest, as he has given you, and they too possess the land the Lord your God is giving them. You may then return to the land of your inheritance and take possession of what Moses the Lord’s servant gave you on the east side of the Jordan.”
Joshua son of Nun was filled with the spirit of wisdom because Moses had laid his hands on him. So the Israelites obeyed him and did as the Lord had commanded Moses.