Our God, you forced out the nations who lived in this land before your people Israel came here, and you gave it to the descendants of your friend Abraham forever.
So Moses told Joshua, "Have some men ready to attack the Amalekites tomorrow. I will stand on a hilltop, holding this walking stick that has the power of God."
Then they would bow down because a thick cloud would come down in front of the tent, and the LORD would speak to Moses face to face, just like a friend. Afterwards, Moses would return to camp, but his young assistant Joshua would stay at the tent.
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,