When the Philistines heard David was king, they came and were struck down from Geba to Gezer.
Bible
When the Philistines learned David was king, they came out, and David went down to the stronghold. They spread out in the Valley of Rephaim, so David inquired of the LORD whether he should go up and win, and he defeated them at Baal-perazim, the name taken from David's words that "The LORD has burst through my enemies before me like a bursting flood" and carried away their idols. Then, again, they came out in the Valley of Rephaim, and the LORD had David defeat them from the rear and come against them opposite the balsam trees. When he hears the sound of marching in the tops of the balsam trees, rouse himself, for the LORD has gone out before David's army to strike down the army of the Philistines. David obeyed struck them down from Geba to Gezer.
(2 Samuel 5)