In the last few months, the Israelite were escaping the plague that God sent down to Egypt. Moses was the leader of the group escaping, so the escaped to the desert. They traveled in the desert day and night, they were hungry and complained against God and Moses wanting for water. Moses prayed for water and God answered by giving the Israelite water through a rock. Moses took his staff and hit the rock God told him about, and water came flowing out of it! The Israelite also complained about food, so God gave the bread.