39 When Moses spoke these words to all the sons of Israel, the people mourned greatly. 40 In the morning, however, they rose up early and went up to the ridge of the hill country, saying, "Here we are; we have indeed sinned, but we will go up to the place which the LORD has promised." 41 But Moses said, "Why then are you transgressing the commandment of the LORD, when it will not succeed? 42 "Do not go up, or you will be struck down before your enemies, for the LORD is not among you. 43 "For the Amalekites and the Canaanites will be there in front of you, and you will fall by the sword, inasmuch as you have turned back from following the LORD. And the LORD will not be with you." 44 But they went up heedlessly to the ridge of the hill country; neither the ark of the covenant of the LORD nor Moses left the camp. 45 Then the Amalekites and the Canaanites who lived in that hill country came down, and struck them and beat them down as far as Hormah.