In the second of these stories, near the end of the 40-year migration, we read,
The LORD said to Moses, "Take the staff, and gather the assembly together. Speak to that rock before their eyes and it will pour out its water. You will bring water out of the rock for the community so they and their livestock can drink."