1The whole congregation of the Israelis set out from the desert of Sin, traveling from place to place according to the command of the LORD. They camped at Rephidim, but there was no water for the people to drink.
3But the people were thirsty there for water, so they complained against Moses: "Why did you bring us up from Egypt to kill us, our children, and our livestock with thirst?"
5Then the LORD told Moses, "Go over in front of the people and take some of the elders of Israel with you. Take in your hand the staff with which you struck the Nile, and go.
6I'll be standing there in front of you on the rock at Horeb. You are to strike the rock and water will come out of it, so the people can drink." Moses did this in front of the elders of Israel.
9Moses told Joshua, "Choose some men for us and go out to fight against the Amalekites. Tomorrow I'll stand on top of the hill with the staff of God in my hand."
12When Moses' hands became heavy, they took a stone and put it under him, and he sat on it. Aaron and Hur supported his hands, one on one side and one on the other, and so his hands were steady until the sun went down.
14Then the LORD told Moses, "Write this in a book as a memorial and recite it to Joshua: 'I'll certainly wipe out the memory of the Amalekites from under heaven.'"
16"Because," he said, "a fist has been raised in defiance against the throne of the LORD, the LORD will wage war against Amalek from generation to generation."