War with the Philistines broke out again. David attacked them and defeated them so thoroughly that they fled.