Moses was to be gathered with his people because he and Aaron rebelled against the command of Yahweh by striking the rock in anger.