1 Samuel 27:1
27:1 But David thought to himself, “One of these days I will be destroyed by the hand of Saul. The best thing I can do is to escape to the land of the Philistines [because there was no place left to hide in Israel]. Then Saul will give up searching for me anywhere in Israel, and I will slip out of his hand.”
1 Samuel 27:6
27:6 So on that day Achish [commander of the Philistine army; ruler of Gath (1 Sam. 21:10)] gave him Ziklag [Philistine town located about 40 miles southwest of Jerusalem], and it has belonged to the kings of Judah ever since.