And Moses said unto Joshua, Choose us out men, and go out, fight with Amalek: to-morrow I will stand on the top of the hill with the rod of God in my hand.
So Joshua did as Moses had said to him, and fought with Amalek: and Moses, Aaron, and Hur went up to the top of the hill.
And it came to pass, when Moses held up his hand, that Israel prevailed; and when he let down his hand, Amalek prevailed.
But Moses' hands were heavy; and they took a stone, and put it under him, and he sat thereon; and Aaron and Hur stayed up his hands, the one on the one side, and the other on the other side; And his hands were steady until the going down of the sun.
And Joshua discomfited Amalek and his people with the edge of the sword.
And Jehovah said unto Moses, Write this for a memorial in a book, and rehearse it in the ears of Joshua: that I will utterly blot out the remembrance of Amalek from under heaven.
And Moses rose up, and Joshua his minister: and Moses went up into the mount of God.
And Jehovah spake unto Moses face to face, as a man speaketh unto his friend. And he turned again into the camp: but his minister Joshua, the son of Nun, a young man, departed not out of the Tent.
Of the tribe of Ephraim, Hoshea the son of Nun.
These are the names of the men that Moses sent to spy out the land. And Moses called Hoshea the son of Nun Joshua.