Then to Abiathar the priest the king said, “Go to Anathoth to your own field, for you deserve to die; but I will not put you to death at this time, because you carried the ark of the Lord God before my father David, and because you were afflicted in everything with which my father was afflicted.”
and Ahijah, the son of Ahitub, Ichabod’s brother, the son of Phinehas, the son of Eli, the priest of the Lord at Shiloh, was wearing an ephod. And the people did not know that Jonathan had gone.
So 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.”
Then David and his men went to Keilah and fought the Philistines; and he drove away their livestock and struck them with a great slaughter. So David saved the inhabitants of Keilah.
When it was reported to Saul that David had come to Keilah, Saul said, “God has handed him over to me, for he shut himself in by entering a city with double gates and bars.”