So Moses arose with Joshua his servant, and Moses went up to the mountain of God.
Thus the Lord used to speak to Moses face to face, just as a man speaks to his friend. When Moses returned to the camp, his servant Joshua, the son of Nun, a young man, would not depart from the tent.
Now Moses was pasturing the flock of Jethro his father-in-law, the priest of Midian; and he led the flock to the west side of the wilderness and came to Horeb, the mountain of God.
So Moses said to Joshua, “Choose men for us and go out, fight against Amalek. Tomorrow I will station myself on the top of the hill with the staff of God in my hand.”
Now when Joshua heard the sound of the people as they shouted, he said to Moses, “There is a sound of war in the camp.”
Then Joshua the son of Nun, the attendant of Moses from his youth, said, “Moses, my lord, restrain them.”