David was in Philistia for a year and four months.
The Geshurites, the Girzites, and the Amalekites lived in the area from Telam to Shur and on as far as Egypt, and David often attacked their towns.