1 And all the company of the children of Israel went on their journeys from the wilderness of Sin at the commandment of the LORD, and pitched in Rephidim: where was no water for the people to drink. 2 And the people chode with Moses, and said, "Give us water to drink." And Moses said unto them, "Why chide ye with me, and wherefore do ye tempt the LORD?"
3 There the people thirsted for water, and murmured against Moses and said, "Wherefore hast thou brought us out of Egypt, to kill us and our children and our cattle with thirst?"
4 And Moses cried unto the LORD saying, "What shall I do unto this people? They be almost ready to stone me!"
5 And the LORD said unto Moses, "Go before the people, and take with thee of the elders of Israel: and thy rod wherewith thou smotest the river, take in thine hand and go. 6 Behold, I will stand there before thee upon a rock in Horeb: and thou shalt smite the rock, and there shall come water out thereof, that the people may drink." And Moses did even so before the elders of Israel. 7 And he called the name of the place: Massah-and-Meribah: because of the chiding of the children of Israel, and because they tempted the LORD saying, "Is the LORD among us or not?"
8 Then came Amalek and fought with Israel in Rephidim. 9 And Moses said unto Joshua, "Choose out men and go fight with Amalek. Tomorrow I will stand on the top of the hill and the rod of God in mine hand."
10 And Joshua did as Moses bade him, and fought with the Amalekites. And Moses, Aaron and Hur went up to the top of the hill. 11 And when Moses held up his hand, Israel had the better. And when he let his hand down, Amalek had the better. 12 When Moses' hands were weary, they took a stone and put it under him, and he sat down 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 sun was down. 13 And Joshua discomfited Amalek and his people with the edge of his sword.
14 And the LORD said unto Moses, "Write this for a remembrance in a book and tell it unto Joshua, for I will put out the remembrance of Amalek from under heaven."
15 And Moses made an altar and called the name of it Jehovah Nissi, 16 for he said, "The hand is on the seat of the LORD, that the LORD will have war with Amalek throughout all generations."