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."
1 Samuel 23:7
Surrounding context
23:6 Now it happened, when Abiathar the son of Ahimelech fled to David at Keilah, that he went down with an ephod in his hand.
23:7 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."
23:8 Then Saul called all the people together for war, to go down to Keilah to besiege David and his men.