The people were thirsty. They came to Moses. “Why did you make us come out here to the desert?” they said. “Why did you make us leave Egypt? There is nothing good to eat here. There is no water.”
Moses was angry with the people. They blamed him for all their problems. They forgot how God protected them and always cared for them. So Moses talked to God. God told Moses to speak to a rock in front of the people. God would make water come out of the rock.
Moses went to the rock. But Moses was so angry, he didn’t do what God said. Instead of speaking to the rock, Moses hit the rock with his staff! God made water come out of the rock even though Moses didn’t do what God said. God was sad that Moses didn’t obey Him.