1 Samuel 27:6-12

6 So Achish gave him the town of Ziklag, and for this reason Ziklag has belonged to the kings of Judah ever since.
7 David lived in Philistia for sixteen months.
8 During that time David and his men would attack the people of Geshur, Girzi, and Amalek, who had been living in the region a very long time. He would raid their land as far as Shur, all the way down to Egypt,
9 killing all the men and women and taking the sheep, cattle, donkeys, camels, and even the clothes. Then he would come back to Achish,
10 who would ask him, "Where did you go on a raid this time?" and David would tell him that he had gone to the southern part of Judah or to the territory of the clan of Jerahmeel or to the territory where the Kenites lived.
11 David would kill everyone, men and women, so that no one could go back to Gath and report what he and his men had really done. This is what David did the whole time he lived in Philistia.
12 But Achish trusted David and said to himself, "He is hated so much by his own people the Israelites that he will have to serve me all his life."

1 Samuel 27:6-12 Meaning and Commentary

INTRODUCTION TO FIRST SAMUEL 27

David, fearing he should perish by the hand of Saul at one time or another, went into the land of the Philistines, which Saul hearing of, sought no more after him, 1Sa 27:1-4; and finding favour in the eyes of the king of Gath, desired a place in his country might be given him to reside in; and accordingly Ziklag was given him, 1Sa 27:5-7; from whence he made excursions into the land of the Amalekites, and others, and utterly destroyed them; but imposed on the king of Gath, pretending he had made his road into the southern parts of Judah, 1Sa 27:8-12.

Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.