The LORD told Moses, "You will soon die, so bring Joshua to the sacred tent, and I will appoint him the leader of Israel." Moses and Joshua went to the sacred tent,
Before Moses died, he had placed his hands on Joshua, and the LORD had given Joshua wisdom. The Israelites paid attention to what Joshua said and obeyed the commands that the LORD had given Moses.