1The whole community of Israel started out from the Desert of Sin. They travelled from place to place, just as the LORD commanded. They camped at Rephidim. But there wasn’t any water for the people to drink.2So they argued with Moses. They said, ‘Give us water to drink.’ Moses replied, ‘Why are you arguing with me? Why are you testing the LORD?’3But the people were thirsty for water there. So they told Moses they weren’t happy with him. They said, ‘Why did you bring us up out of Egypt? Did you want us, our children and our livestock to die of thirst?’4Then Moses cried out to the LORD. He said, ‘What am I going to do with these people? They are almost ready to kill me by throwing stones at me.’5The LORD answered Moses. ‘Go out in front of the people. Take some of the elders of Israel along with you. Take in your hand the walking stick you used when you struck the River Nile. Go.6I will stand there in front of you by the rock at Mount Horeb. Hit the rock. Then water will come out of it for the people to drink.’ So Moses hit the rock while the elders of Israel watched.7Moses called the place Massah and Meribah. That’s because the people of Israel argued with him there. They also tested the LORD. They asked, ‘Is the LORD among us or not?’
Joshua wins the battle over the Amalekites
8The Amalekites came and attacked the Israelites at Rephidim.9Moses said to Joshua, ‘Choose some of our men. Then go out and fight against the Amalekites. Tomorrow I will stand on top of the hill. I’ll stand there holding the walking stick God gave me.’10So Joshua fought against the Amalekites, just as Moses had ordered. Moses, Aaron and Hur went to the top of the hill.11As long as Moses held up his hand, the Israelites were winning. But every time he lowered his hands, the Amalekites began to win.12When Moses’ arms got tired, Aaron and Hur got a stone and put it under him. Then he sat on it. Aaron and Hur held up his hands. Aaron was on one side, and Hur was on the other. Moses’ hands remained steady until sunset.13So Joshua destroyed the Amalekite army with swords.14Then the LORD said to Moses, ‘This is something to be remembered. So write it on a scroll. Make sure Joshua knows you have done it. I will completely erase the memory of the Amalekites from the earth.’15Then Moses built an altar. He called it The LORD Is My Banner.16He said, ‘The Amalekites opposed the authority of the LORD. So the LORD will fight against the Amalekites for all time to come.’