Exodus 17: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.
[Patriarchs & Prophets pp 298>299] In their thirst the people had tempted God, saying, “Is the Lord among us, or not?”—“If God has brought us here, why does He not give us water as well as bread?” The unbelief thus manifested was criminal, and Moses feared that the judgments of God would rest upon them. And he called the name of the place Massah, “temptation,” and Meribah, “chiding,” as a memorial of their sin. A new danger now threatened them. Because of their murmuring against Him, the Lord suffered them to be attacked by their enemies. The Amalekites, a fierce, warlike tribe inhabiting that region, came out against them and smote those who, faint and weary, had fallen into the rear.
Moses, knowing that the masses of the people were unprepared for battle, directed Joshua to choose from the different tribes a body of soldiers, and lead them on the morrow against the enemy, while he himself would stand on an eminence near by with the rod of God in his hand. Accordingly the next day Joshua and his company attacked the foe, while Moses and Aaron and Hur were stationed on a hill overlooking the battlefield. With arms outstretched toward heaven, and holding the rod of God in his right hand, Moses prayed for the success of the armies of Israel. As the battle progressed, it was observed that so long as his hands were reaching upward, Israel prevailed, but when they were lowered, the enemy was victorious.
As Moses became weary, Aaron and Hur stayed up his hands until the going down of the sun, when the enemy was put to flight. As Aaron and Hur supported the hands of Moses, they showed the people their duty to sustain him in his arduous work while he should receive the word from God to speak to them. And the act of Moses also was significant, showing that God held their destiny in His hands; while they made Him their trust, He would fight for them and subdue their enemies; but when they should let go their hold upon Him, and trust in their own power, they would be even weaker than those who had not the knowledge of God, and their foes would prevail against them.
Exodus 17:10 So Joshua did as Moses had said to him, and fought with Amalek: and Moses, Aaron, and Hur went up to the top of the hill. 11 And it came to pass, when Moses held up his hand, that Israel prevailed: and when he let down his hand, Amalek prevailed.
May The Lord add His blessing to the study of His word. God bless!