So David did what the lord commanded, and he struck down the Philistines all the way from Gibeon to Gezer.