When Moses led the Israelites out of Egypt, they traveled through the desert where they endured hunger and thirst. However, Yahweh continually provided for them. Just in the previous chapter we read about an incident in which they came to a place where there was no water. People grumbled against Moses; God provided water to drink from a rock. These people were on their way to the land the LORD promised to them as their inheritance. This land would be their future; however, an enemy came against them and threatened their lives, their future. This is the first war Israel had to fight after coming out of Egypt.