They weren't thirsty when he led them through the desert—he made water come out of the rock for them. He split the rock open and water poured out.