Verses 1-7: The Water Crisis and God's Provision. The Israelites arrive at Rephidim, facing a dire lack of water. Their complaints provoke Moses, who appeals to God. God instructs Moses to strike the rock at Horeb, bringing forth water, demonstrating divine provision despite Israel's testing.
Verses 8-13: The Battle with Amalek. The Amalekites attack Israel at Rephidim. Moses commands Joshua to lead the fight while he, Aaron, and Hur support the battle spiritually by holding up Moses' hands. Israel prevails as long as Moses' hands remain raised.
Verses 14-16: Memorial and Divine Promise. God commands Moses to record the victory over Amalek, promising to blot out their memory. Moses builds an altar named Jehovahnissi, signifying God's ongoing war against Amalek through generations.