And David said in his heart, I shall now 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.
And David arose, and he passed over with the six hundred men that were with him unto Achish, the son of Maoch, king of Gath.
And David dwelt with Achish at Gath, he and his men, every man with his household, even David with his two wives, Ahinoam the Jezreelitess, and Abigail the Carmelitess, Nabal’s wife.
And it was told Saul that David was fled to Gath: and he sought no more again for him.
And David said unto Achish, If I have now found grace in thine eyes, let them give me a place in some town in the country, that I may dwell there: for why should thy servant dwell in the royal city with thee?
Then Achish gave him Ziklag that day: wherefore Ziklag pertaineth unto the kings of Judah unto this day.
And the time that David dwelt in the country of the Philistines was a full year and four months.
1 Samuel 27:1-7
And there was yet a battle in Gath, where was a man of great stature, that had on every hand six fingers, and on every foot six toes, four and twenty in number; and he also was born to the giant.
And when he defied Israel, Jonathan the son of Shimeah the brother of David slew him.
These four were born to the giant in Gath, and fell by the hand of David, and by the hand of his servants.