The Amalekites and Canaanites who lived there in the hill country came down and attacked the Israelites and defeated them, and chased them all the way to Hormah.