When war broke out again, David went out to fight against the Philistines and inflicted such a great defeat upon them that they fled from him.