Saul was told that David had come to Keilah, and Saul said, “God has handed him over to me, for he has trapped himself by entering a town with gates and bars.”
In context
5So David and his men went to Keilah, fought the Philistines, drove off their livestock, and struck them with a heavy blow. So David saved the people of Keilah. 6Now when Abiathar son of Ahimelech fled to David at Keilah, he brought an ephod down with him. 7Saul was told that David had come to Keilah, and Saul said, “God has handed him over to me, for he has trapped himself by entering a town with gates and bars.” 8So Saul summoned all the troops to war, to go down to Keilah and besiege David and his men. 9When David learned that Saul was plotting evil against him, he said to Abiathar the priest, “Bring the ephod here.”