27:1 And David said in his heart, I shall now {a} perish one day by the hand of Saul: [there is] nothing better for me than that I should speedily escape into the land of the Philistines; and Saul shall despair of me, to seek me any more in any coast of Israel: so shall I escape out of his hand.
(a) David distrusts God's protection and therefore flees to the idolaters, who were enemies to God's people.
27:1 I shall perish - But this was certainly a very great fault in David: for This proceeded from gross distrust of God's promise and providence; and that after such repeated demonstrations of God's peculiar care over him. He forsakes the place where god had settled him, chap.22:5, and given him both assurance and experience of his protection there. He voluntarily runs upon that rock, which he cursed his enemies for throwing him upon, chap.26:19, and upon many other snares and dangers, as the following history will shew; and withal, deprives the people of the Lord of those succours which he might have given them, in case of a battle. But God hereby designed to withdraw David from the Israelites, that they might fall by the hand of the Philistines, without any reproach or inconvenience to David.
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.