Exodus 17
1WHEN all the congregation of the Israelites had removed from the wilderness of Sin according to their encampments by the command of the Lord and encamped at Raphidin and there was no water for the people to drink,
2and the people were reviling Moses and saying, Give us water that we may drink, Moses said to them, Why do you revile me? And why do you tempt the Lord?
3Now when the people had thirsted there for water and murmured against Moses saying, How is this? Hast thou brought us up out of Egypt to kill us and our children and our cattle with thirst?
4Moses cried to the Lord and said, What shall I do for this people? They are almost ready to stone me.
5Upon which the Lord said to Moses, Go on at the head of the people, and take thee some of the elders of the people, and take in thy hand the staff with which thou didst smite the river.
6And thou shalt go to the place where I before caused thee to stand on the rock at Choreb; and thou shalt smite the rock, and water will gush out that the people may drink. And Moses did so in the presence of the Israelites,
7and he called the name of that place, Temptation and Upbraiding, because of the upbraiding of the Israelites, and because they tempted the Lord and said, Is the Lord among us or not?
8Now Amalek had come and made war on Israel at Raphidin,
9upon which Moses said to Joshua, Select for thyself able men and go out and draw up in array to-morrow against Amalek; when lo I have stood on the top of that hill with the staff of God in my hand.
10So Joshua did as Moses commanded him. And when he had gone out and drawn up in array against Amalek, and Moses and Aaron and Hur had gone up to the top of the hill,
11it came to pass that when Moses held up his hands Israel prevailed; but when he let down his hands Amalek prevailed.
12But Moses’ hands were heavy, therefore they took a stone and put it under him and he sat thereon; and Aaron and Hur stayed up his hands, one on one side, and the other, on the other. So his hands were stayed up till the going down of the sun
13and Joshua discomfited Amalek and his whole people with the slaughter of the sword.
14Then the Lord said to Moses, Write this in a book to keep it in remembrance; and rehearse it in the hearing of Joshua, that I will entirely blot out the remembrance of Amalek from under heaven.
15And Moses built an altar to the Lord and called its name, The Lord my refuge;
16because with a secret hand the Lord fighteth against Amalek from generation to generation.