'Defeated' in the Bible
The Philistines arranged their forces to fight Israel. As the battle spread out, Israel was defeated by the Philistines, who killed about four thousand men in the battle line in the field.
When the army came back to the camp, the elders of Israel said, "Why did the Lord let us be defeated today by the Philistines? Let's take with us the ark of the covenant of the Lord from Shiloh. When it is with us, it will save us from the hand of our enemies.
So the Philistines fought. Israel was defeated; they all ran home. The slaughter was very great; thirty thousand foot soldiers fell in battle.
As Samuel was offering burnt offerings, the Philistines approached to do battle with Israel. But on that day the Lord thundered loudly against the Philistines. He caused them to panic, and they were defeated by Israel.
So the Philistines were defeated; they did not invade Israel again. The hand of the Lord was against the Philistines all the days of Samuel.
Now once again there was war. So David went out to fight the Philistines. He defeated them thoroughly and they ran away from him.
So David and his men went to Keilah and fought the Philistines. He took away their cattle and thoroughly defeated them. David delivered the inhabitants of Keilah.