We divided the descendants of Israel into twelve tribes and told Moses to strike the rock with his staff to let twelve fountains gush out therefrom ; his people had asked him to supply them with water . The twelve flowing springs were divided among them ( a spring for each tribe ) and each tribe knew its drinking place well .