Now they told David, "The Philistines are fighting against Keilah, and are robbing the threshing floors."
David inquired of the Lord, "Shall I go and attack these Philistines?" The Lord said to David, "Go and attack the Philistines and save Keilah."
But David's men said to him, "Look, we are afraid here in Judah; how much more then if we go to Keilah against the armies of the Philistines?"
Then David inquired of the Lord again. The Lord answered him, "Yes, go down to Keilah; for I will give the Philistines into your hand.
So David and his men went to Keilah, fought with the Philistines, brought away their livestock, and dealt them a heavy defeat. Thus David rescued the inhabitants of Keilah.
When Abiathar son of Ahimelech fled to David at Keilah, he came down with an ephod in his hand.