So the king of Israel, the king of Judah, and the king of Edom set off. Having followed an indirect route for seven days, they ran out of water for their army and for their animals.
On his way he sent a message to Jehoshaphat, king of Judah, saying, “The king of Moab has rebelled against me. Will you join me in an attack on Moab?” Jehoshaphat replied, “Yes, I will join you. You and I are as one, my men and your men are as one, and my horses and your horses are as one.”
All your officials will come to me, bowing down before me and saying, ‘Leave, and take everyone who follows you with you!’ After that I will leave.” Moses was very angry, and left Pharaoh.
Then all the Israelites left the Desert of Sin, going from place to place as they followed the Lord's commands. They camped at Rephidim, but there wasn't any water for the people to drink.
and made complaints against God and against Moses, saying, “Why did you lead us out of Egypt to die in the desert? We don't have bread or water, and we hate this awful food!”