2 So David set out and went over, he and the six hundred men who were with him, to King Achish son of Maoch of Gath. 3 David stayed with Achish at Gath, he and his troops, every man with his household, and David with his two wives, Ahinoam of Jezreel, and Abigail of Carmel, Nabal's widow. 4 When Saul was told that David had fled to Gath, he no longer sought for him.
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.