This is what the Lord of Armies says: “I witnessed what the Amalekites did to the Israelites when they opposed them along the way as they were coming out of Egypt.
The entire Israelite community left the Wilderness of Sin, moving from one place to the next according to the Lord’s command. They camped at Rephidim, but there was no water for the people to drink.
David and his men went up and raided the Geshurites, the Girzites, and the Amalekites. From ancient times they had been the inhabitants of the region as you go towards Shur , as far as the land of Egypt.
Then they came back to invade En-mishpat (that is, Kadesh ), and they defeated the whole territory of the Amalekites, as well as the Amorites who lived in Hazazon-tamar.
The Amalekites are living in the land of the Negev; the Hethites, Jebusites, and Amorites live in the hill country; and the Canaanites live by the sea and along the Jordan.’