After fleeing from Saul to Philistia with Achish the son of Maoch, king of Gath, David made Ziklag his base of operations for military exploits against the Geshurites, Girzites, and Amalekites as far as Shur, to the land of Egypt. He reported his raids back to Achish as against the Negeb of Judah, Jerahmeelites, and Kenites and gained Achish's trust. (1 Samuel 27)
David shares Amalekite spoils with all the places where David and his men had roamed after their raid on Ziklag
David recovered the people and things of Ziklag from the band of Amalekite raiders and additional spoils. When he returned to Ziklag, he sent part of the spoil to his friends, the elders of Judah, saying, "Here is a present for you from the spoil of the enemies of the LORD." It was for those in Bethel, Ramoth of the Negeb, Jattir, Aroer, Siphmoth, Eshtemoa, Racal, the cities of the Jerahmeelites and Kenites, in Hormah, Borashan, Athach, Hebron, for all the places where David and his men had roamed. (1 Samuel 30)