2 Then David arose and went over with the six hundred men who were with him to Achish the son of Maoch, king of Gath. 3 So David dwelt with Achish at Gath, he and his men, each man with his household, and David with his two wives, Ahinoam the Jezreelitess, and Abigail the Carmelitess, Nabal's widow. 4 And it was told Saul that David had fled to Gath; so he sought him no more.
Matthew Henry's Commentary on 1 Samuel 27:2-4
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.