New King James Version (NKJV)
1 Samuel 22
20 Now one of the sons of Ahimelech the son of Ahitub, named Abiathar, escaped and fled after David.
21 And Abiathar told David that Saul had killed the Lord’s priests.
22 So David said to Abiathar, "I knew that day, when Doeg the Edomite was there, that he would surely tell Saul. I have caused the death of all the persons of your father’s house.
23 Stay with me; do not fear. For he who seeks my life seeks your life, but with me you shall be safe."
1 Samuel 23
1 Then they told David, saying, "Look, the Philistines are fighting against Keilah, and they are robbing the threshing floors."
2 Therefore 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."
3 But David’s men said to him, "Look, we are afraid here in Judah. How much more then if we go to Keilah against the armies of the Philistines?"
4 Then David inquired of the Lord once again. And the Lord answered him and said, "Arise, go down to Keilah. For I will deliver the Philistines into your hand."
5 And David and his men went to Keilah and fought with the Philistines, struck them with a mighty blow, and took away their livestock. So David saved the inhabitants of Keilah.
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.
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."