Some time later King David attacked the Philistines again and defeated them. He took out of their control the city of Gath and its surrounding villages.