After this it came about that David attacked the Philistines and defeated them. So David took Metheg Ammah from the control of the Philistines.