Now it happened after this that David attacked the Philistines and subdued them, so he took Gath and its neighboring towns from Philistine control.