In the case of Abiathar, the high priest, the king told him, “Go home and take care of your fields. You should be condemned to death, but I will not kill you right now because you carried the Ark of the Lord God ahead of my father David and went through all his hard times with him.”
including Ahijah, who was wearing an ephod. He was a son of Ichabod's brother Ahitub, son of Phinehas, son of Eli, priest of the Lord in Shiloh. No one realized Jonathan had left.
Then David and his men went to Keilah and fought the Philistines. They slaughtered them and drove off their livestock. By doing this David saved the people of Keilah.
When Saul found out that David had gone to Keilah, he said, “God has handed him over to me, because he has locked himself inside a town with gates that can be barred shut.”