Later Joshua, who was so ignorant that he was called a fool, became the minister of Moses, and God rewarded his faithful service by making him the successor to Moses. He was designated as such to Moses when, at the bidding of his master, he was carrying on war with the Amalekites. In this campaign God's care of Joshua was plainly seen. Joshua had condemned a portion of the Amalekites to death by lot, and the heavenly sword picked them out for extermination.
Yet there was as great a difference between Moses and Joshua as between the sun and the moon. God did not withdraw His help from Joshua, but He was by no means so close to him as to Moses. This appeared immediately after Moses had passed away. At the moment when the Israelitish leader was setting out on his journey to the great beyond, he summoned his successor and bade him put questions upon all points about which he felt uncertain.
Conscious of his own industry and devotion, Joshua replied that he had no questions to ask, seeing that he had carefully studied the teachings of Moses. Straightway he forgot three hundred Halakot, and doubts assailed him concerning seven hundred others. The people threatened Joshua's life, because he was not able to resolve their difficulties in the law. It was vain to turn to God, for the Torah once revealed was subject to human, not to heavenly, authority.
Directly after Moses' death, God commanded Joshua to go to war, so that the people might forget its grievance against him. But it is false to think that the great conqueror was nothing more than a military hero. When God appeared to him, to give him instructions concerning the war, He found him with the Book of Deuteronomy in his hand, whereupon God called to him: "Be strong and of good courage; the book of the law shall not depart out of thy mouth."