So Moses told Joshua, “Have some men ready to attack the Amalekites tomorrow. I will stand on a hilltop, holding this walking stick that has the power of God.”
He raised his stick in the air and struck the rock two times. At once, water gushed from the rock, and the people and their livestock had water to drink.