So David did exactly as the Lord commanded him, and he struck down the Philistines all the way from Geba to Gezer.