After this, David defeated and crushed the Philistines. He took control of the main Philistine city from them.