Moses told them not to go because they were violating Yahweh's command and because Yahweh was not with them to stop their enemies from defeating them.