It was reported to David: "Look, the Philistines are fighting against Keilah and raiding the threshing floors."
So David inquired of the Lord: "Should I launch an attack against these Philistines?" The Lord answered David, "Launch an attack against the Philistines and rescue Keilah."
But David's men said to him, "Look, we're afraid here in Judah; how much more if we go to Keilah against the Philistine forces!"
Once again, David inquired of the Lord, and the Lord answered him: "Go at once to Keilah, for I will hand the Philistines over to you.
Then David and his men went to Keilah, fought against the Philistines, drove their livestock away, and inflicted heavy losses on them. So David rescued the inhabitants of Keilah.
Abiathar son of Ahimelech fled to David at Keilah, and he brought an ephod with him.a