Numbers 14:39-45 NKJV
Then Moses told these words to all the children of Israel, and the people mourned greatly. And they rose early in the morning and went up to the top of the mountain, saying, “Here we are, and we will go up to the place which the LORD has promised, for we have sinned!”
And Moses said, “Now why do you transgress the command of the LORD? For this will not succeed. Do not go up, lest you be defeated by your enemies, for the LORD is not among you. For the Amalekites and the Canaanites are there before you, and you shall fall by the sword; because you have turned away from the LORD, the LORD will not be with you.”
But they presumed to go up to the mountaintop. Nevertheless, neither the ark of the covenant of the LORD nor Moses departed from the camp. Then the Amalekites and the Canaanites who dwelt in that mountain came down and attacked them, and drove them back as far as Hormah.
NKJV: New King James Version