Then they told David, saying, “Look, the Philistines are fighting against Keilah, and they are robbing the threshing floors.” Therefore David inquired of the Lord , saying, “Shall I go and attack these Philistines?” And 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 once again. And the Lord answered him and said, “Arise, go down to Keilah. For I will deliver the Philistines into your hand.” And David and his men went to Keilah and fought with the Philistines, struck them with a mighty blow, and took away their livestock. So David saved the inhabitants of Keilah. Now it happened, when Abiathar the son of Ahimelech fled to David at Keilah, that he went down with an ephod in his hand. And Saul was told that David had gone to Keilah. So Saul said, “God has delivered him into my hand, for he has shut himself in by entering a town that has gates and bars.” Then Saul called all the people together for war, to go down to Keilah to besiege David and his men. When David knew that Saul plotted evil against him, he said to Abiathar the priest, “Bring the ephod here.” Then David said, “O Lord God of Israel, Your servant has certainly heard that Saul seeks to come to Keilah to destroy the city for my sake. Will the men of Keilah deliver me into his hand? Will Saul come down, as Your servant has heard? O Lord God of Israel, I pray, tell Your servant.” And the Lord said, “He will come down.” Then David said, “Will the men of Keilah deliver me and my men into the hand of Saul?” And the Lord said, “They will deliver you. ” So David and his men, about six hundred, arose and departed from Keilah and went wherever they could go. Then it was told Saul that David had escaped from Keilah; so he halted the expedition.
I Samuel 23:1-13 NKJV