David was told, "The Philistines are now attacking Keilah and looting the threshing floors!"
David asked the LORD, "Should I go and fight these Philistines?" "Go!" the LORD answered. "Fight the Philistines and save Keilah!"
But David's men said to him, "Look how frightened we are here in Judah. It'll be worse if we go to Keilah against Philistine forces!"
So David asked the LORD again, and the LORD reaffirmed, "Yes, go down to Keilah, because I will hand the Philistines over to you."
Then David and his soldiers went to Keilah and fought the Philistines, driving off their cattle and defeating them decisively. And that's how David saved the residents of Keilah.
Now after Abiathar, Ahimelech's son, fled to David, he had accompanied David to Keilah, bringing a priestly vest with him.