Numbers 14:39-45
39 When Moses reported this to all the Israelites, they mourned bitterly.
40 Early the next morning they went up toward the high hill country. “We have sinned,” they said. “We will go up to the place the Lord promised.”
41 But Moses said, “Why are you disobeying the Lord’s command? This will not succeed!
42 Do not go up, because the Lord is not with you. You will be defeated by your enemies,
43 for the Amalekites and Canaanites will face you there. Because you have turned away from the Lord, he will not be with you and you will fall by the sword.”
44 Nevertheless, in their presumption they went up toward the high hill country, though neither Moses nor the ark of the Lord’s covenant moved from the camp.
45 Then the Amalekites and Canaanites who lived in that hill country came down and attacked them and beat them down all the way to Hormah.