In Numbers 27, Moses is directed by the Lord to go up to the Abarim mountain range and view the land that will be given to the Israelites after his death. Moses then asked God to appoint someone to take over the responsibility in shepherding the Israelites. The Lord told Moses to take Joshua as his successor and commission him before the whole assembly of Israelites so that they will respect his authority and obey him.