When Moses reported these words to all the Israelites, the people were overcome with grief.
References for Numbers 14:39
They got up early the next morning and went up the ridge of the hill country, saying, "Let's go to the place the Lord promised, for we were wrong."
References for Numbers 14:40
But Moses responded, "Why are you going against the Lord's command? It won't succeed.
Don't go, because the Lord is not among you and you will be defeated by your enemies.
The Amalekites and Canaanites are right in front of you, and you will fall by the sword. The Lord won't be with you, since you have turned from following Him."
But they dared to go up the ridge of the hill country, even though the ark of the Lord's covenant and Moses did not leave the camp.
Then the Amalekites and Canaanites who lived in that [part of the] hill country came down, attacked them, and routed them as far as Hormah.
References for Numbers 14:45