When Saul was told that David had gone to Keilah, he said, “God has delivered him into my hand, for he has trapped himself by entering a town with gates and bars.”
Jewish Publication Society of America Version (JPS1917) - 1 Samuel 23:7 >And it was told Saul that David was come to Keilah. And Saul said: 'God hath delivered him into my hand; for he is shut in, by entering into a town that hath gates and bars.'