5 Then David said to Achish, "If I have now found favor in your eyes, let them give me a place in some town in the country, that I may dwell there. For why should your servant dwell in the royal city with you?" 6 So Achish gave him Ziklag that day. Therefore Ziklag has belonged to the kings of Judah to this day. 7 Now the time that David dwelt in the country of the Philistines was one full year and four months.
8 And David and his men went up and raided the Geshurites, the Girzites, and the Amalekites. For those nations were the inhabitants of the land from of old, as you go to Shur, even as far as the land of Egypt. 9 Whenever David attacked the land, he left neither man nor woman alive, but took away the sheep, the oxen, the donkeys, the camels, and the apparel, and returned and came to Achish. 10 Then Achish would say, "Where have you made a raid today?" And David would say, "Against the southern area of Judah, or against the southern area of the Jerahmeelites, or against the southern area of the Kenites." 11 David would save neither man nor woman alive, to bring news to Gath, saying, "Lest they should inform on us, saying, 'Thus David did.' " And thus was his behavior all the time he dwelt in the country of the Philistines. 12 So Achish believed David, saying, "He has made his people Israel utterly abhor him; therefore he will be my servant forever."
Matthew Henry's Commentary on 1 Samuel 27:5-12
Commentary on 1 Samuel 27:1-7
(Read 1 Samuel 27:1-7)
Unbelief is a sin that easily besets even good men, when without are fightings, and within are fears; and it is a hard matter to get over them. Lord, increase our faith! We may blush to think that the word of a Philistine should go further than the word of an Israelite, and that the city of Gath should be a place of refuge for a good man, when the cities of Israel refuse him a safe abode. David gained a comfortable settlement, not only at a distance from Gath, but bordering upon Israel, where he might keep up a correspondence with his own countrymen.
Commentary on 1 Samuel 27:8-12
(Read 1 Samuel 27:8-12)
While David was in the land of the Philistines, he attacked some remains of the devoted nations. The people whom he cut off were long before doomed to destruction. It is often wisdom to shun public notice, but we must in no situation be idle. We must always try to do somewhat in the cause of God. This expedition David hid from Achish. But an equivocation which serves the purpose of a lie, is as like to it as a hypocrite is to a profane person, it is only better in appearance, therefore more dangerous. Yet, though believers often manifest imperfections, they can never be prevailed upon to renounce the service of God, and to unite interests with his enemies, or finally to become the servants of sin and Satan. But what a train of evils follow from unbelief! When we forget the Lord's past mercies, and his gracious assurances, we shall be overwhelmed with desponding fears, and probably be led to adopt some dishonourable method to get rid of our troubles. Nothing can so effectually establish us in holy tempers and practices, and preserve us from perplexities, as firm, unshaken dependence upon the promises of God in Christ Jesus.