David did just as God commanded him, and they struck the camp of the Philistines from Gibeon as far as Gezer.