1st Samuel 27:6 Then Achish gave him Ziklag that day: wherefore Ziklag pertaineth unto the kings of Judah unto this day. 7 And the time that David dwelt in the country of the Philistines was a full year and four months.
[Patriarchs & Prophets pp 673] David felt secure from betrayal in the dominions of Achish. He brought his family, his household, and his possessions, as did also his men; and to all appearance he had come to settle permanently in the land of Philistia. All this was gratifying to Achish, who promised to protect the fugitive Israelites. At David's request for a residence in the country, removed from the royal city, the king graciously granted Ziklag as a possession.
David realized that it would be dangerous for himself and his men to be under the influence of idolaters. In a town wholly separated for their use they might worship God with more freedom than they could if they remained in Gath, where the heathen rites could not but prove a source of evil and annoyance. While dwelling in this isolated town David made war upon the Geshurites, the Gezrites, and the Amalekites, and he left none alive to bring tidings to Gath.
When he returned from battle he gave Achish to understand that he had been warring against those of his own nation, the men of Judah. By this dissembling he was the means of strengthening the hand of the Philistines; for the king said, βHe hath made his people Israel utterly to abhor him; therefore he shall be my servant forever.β
1st Samuel 27:11 And David saved neither man nor woman alive, to bring tidings to Gath, saying, Lest they should tell on us, saying, So did David, and so will be his manner all the while he dwelleth in the country of the Philistines.
May The Lord add His blessing to the study of His word. God bless!