Numbers 14:39-45 ESV
When Moses told these words to all the people of Israel, the people mourned greatly. And they rose early in the morning and went up to the heights of the hill country, saying, “Here we are. We will go up to the place that the LORD has promised, for we have sinned.” But Moses said, “Why now are you transgressing the command of the LORD, when that will not succeed? Do not go up, for the LORD is not among you, lest you be struck down before your enemies. For there the Amalekites and the Canaanites are facing you, and you shall fall by the sword. Because you have turned back from following the LORD, the LORD will not be with you.” But they presumed to go up to the heights of the hill country, although neither the ark of the covenant of the LORD nor Moses departed out of the camp. Then the Amalekites and the Canaanites who lived in that hill country came down and defeated them and pursued them, even to Hormah.