The Amalekites and Canaanites living in the mountain country came down, attacked them, and beat them down all the way to Hormah.