So the Lord said to Moses, “Take Joshua the son of Nun, a man in whom is the Spirit, and lay your hand on him. Make him stand before Eleazar the priest and all the congregation, and you shall commission him in their sight. You shall invest him with some of your authority, that all the congregation of the people of Israel may obey. And he shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before the Lord. At his word they shall go out, and at his word they shall come in, both he and all the people of Israel with him, the whole congregation.” And Moses did as the Lord commanded him. He took Joshua and made him stand before Eleazar the priest and the whole congregation, and he laid his hands on him and commissioned him as the Lord directed through Moses.
—Numbers 27:18-23
From Through the Bible Radio with J. Vernon McGee:
Joshua was the successor to Moses. He was a great general. Born a slave in Egypt, he was forty years old at the time of the Exodus out of Egypt. He was eighty years old when he received his commission as Moses’ successor and one hundred ten years old at his death. Joshua had already gained prominence during the wilderness wanderings. When they were attacked by the army of Amalek, it was Joshua who organized the men into an army that fought off Amalek. Joshua served as a minister or servant to Moses. References to him in that connection reveal his loyalty to Moses and his devotion to God. At Kadesh–barnea he was one of the twelve men who went to spy out the land of Canaan. He is one of the two spies that returned with a favorable report in full confidence that God would give them the land.
Joshua’s name means “Jehovah saves.” The same word in the New Testament is Jesus. Joshua was a man of courage, dependence upon God, faith, leadership, enthusiasm, and fidelity. He is a type of Christ in his name and in his work. As another has said, “Joshua shows that a man of average ability may become a leader in the church. Joshua received his call not in flaming letters written across the sky, but from an older man who knew God and knew Joshua, and saw that he was fitted by God to be a leader.”