Israel murmurs for want of water—Moses smites a rock in Horeb, and water gushes forth—Aaron and Hur uphold Moses' hands so that Joshua prevails against.
The Amalekites came and attacked the Israelites at Rephidim. Moses said to Joshua, “Choose some of our men and go out to fight the Amalekites.
Exodus 17: 8 - 13. 8, Then came Am'alek and fought with Israel at Reph'idim. 9, And Moses said to Joshua, "Choose for us men, and go out, fight with Am'alek;.