1 Samuel 21-23 (ESV)
David and the Holy Bread
21:1  Then David came to Nob to Ahimelech the priest. And Ahimelech came to meet David trembling and said to him, “Why are you alone, and no one with you?” 2 And David said to Ahimelech the priest, “The king has charged me with a matter and said to me, ‘Let no one know anything of the matter about which I send you, and with which I have charged you.’ I have made an appointment with the young men for such and such a place.3 Now then, what do you have on hand? Give me five loaves of bread, or whatever is here.” 4 And the priest answered David, “I have no common bread on hand, but there is holy bread—if the young men have kept themselves from women.” 5 And David answered the priest, “Truly women have been kept from us as always when I go on an expedition. The vessels of the young men are holy even when it is an ordinary journey. How much more today will their vessels be holy?” 6 So the priest gave him the holy bread, for there was no bread there but the bread of the Presence, which is removed from before the Lord, to be replaced by hot bread on the day it is taken away.
7 Now a certain man of the servants of Saul was there that day, detained before the Lord. His name was Doeg the Edomite, the chief of Saul’s herdsmen.
8 Then David said to Ahimelech, “Then have you not here a spear or a sword at hand? For I have brought neither my sword nor my weapons with me, because the king’s business required haste.” 9 And the priest said, “The sword of Goliath the Philistine, whom you struck down in the Valley of Elah, behold, it is here wrapped in a cloth behind the ephod. If you will take that, take it, for there is none but that here.” And David said, “There is none like that; give it to me.”
David Flees to Gath
10 And David rose and fled that day from Saul and went to Achish the king of Gath. 11 And the servants of Achish said to him, “Is not this David the king of the land? Did they not sing to one another of him in dances,
‘Saul has struck down his thousands,
and David his ten thousands’?”
12 And David took these words to heart and was much afraid of Achish the king of Gath. 13 So he changed his behavior before them and pretended to be insane in their hands and made marks on the doors of the gate and let his spittle run down his beard. 14 Then Achish said to his servants, “Behold, you see the man is mad. Why then have you brought him to me? 15 Do I lack madmen, that you have brought this fellow to behave as a madman in my presence? Shall this fellow come into my house?”
David at the Cave of Adullam
22:1 David departed from there and escaped to the cave of Adullam. And when his brothers and all his father’s house heard it, they went down there to him. 2 And everyone who was in distress, and everyone who was in debt, and everyone who was bitter in soul,  gathered to him. And he became captain over them. And there were with him about four hundred men.
3 And David went from there to Mizpeh of Moab. And he said to the king of Moab, “Please let my father and my mother stay  with you, till I know what God will do for me.” 4 And he left them with the king of Moab, and they stayed with him all the time that David was in the stronghold.5 Then the prophet Gad said to David, “Do not remain in the stronghold; depart, and go into the land of Judah.” So David departed and went into the forest of Hereth.
Saul Kills the Priests at Nob
6 Now Saul heard that David was discovered, and the men who were with him. Saul was sitting at Gibeah under the tamarisk tree on the height with his spear in his hand, and all his servants were standing about him. 7 And Saul said to his servants who stood about him, “Hear now, people of Benjamin; will the son of Jesse give every one of you fields and vineyards, will he make you all commanders of thousands and commanders of hundreds, 8 that all of you have conspired against me? No one discloses to me when my son makes a covenant with the son of Jesse. None of you is sorry for me or discloses to me that my son has stirred up my servant against me, to lie in wait, as at this day.” 9 Then answered Doeg the Edomite, who stood by the servants of Saul, “I saw the son of Jesse coming to Nob, to Ahimelech the son of Ahitub, 10 and he inquired of the Lord for him and gave him provisions and gave him the sword of Goliath the Philistine.”
11 Then the king sent to summon Ahimelech the priest, the son of Ahitub, and all his father’s house, the priests who were at Nob, and all of them came to the king. 12 And Saul said, “Hear now, son of Ahitub.” And he answered, “Here I am, my lord.” 13 And Saul said to him, “Why have you conspired against me, you and the son of Jesse, in that you have given him bread and a sword and have inquired of God for him, so that he has risen against me, to lie in wait, as at this day?” 14 Then Ahimelech answered the king, “And who among all your servants is so faithful as David, who is the king’s son-in-law, and captain over  your bodyguard, and honored in your house? 15 Is today the first time that I have inquired of God for him? No! Let not the king impute anything to his servant or to all the house of my father, for your servant has known nothing of all this, much or little.” 16 And the king said, “You shall surely die, Ahimelech, you and all your father’s house.” 17 And the king said to the guard who stood about him, “Turn and kill the priests of the Lord, because their hand also is with David, and they knew that he fled and did not disclose it to me.” But the servants of the king would not put out their hand to strike the priests of the Lord. 18 Then the king said to Doeg, “You turn and strike the priests.” And Doeg the Edomite turned and struck down the priests, and he killed on that day eighty-five persons who wore the linen ephod. 19 And Nob, the city of the priests, he put to the sword; both man and woman, child and infant, ox, donkey and sheep, he put to the sword.
20 But 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 priests of the Lord. 22 And David said to Abiathar, “I knew on that day, when Doeg the Edomite was there, that he would surely tell Saul. I have occasioned the death of all the persons of your father’s house. 23 Stay with me; do not be afraid, for he who seeks my life seeks your life. With me you shall be in safekeeping.”
David Saves the City of Keilah
23:1 Now they told David, “Behold, the Philistines are fighting against Keilah and are robbing the threshing floors.” 2 Therefore David inquired of the Lord, “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, “Behold, 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 again. And the Lord answered him, “Arise, go down to Keilah, for I will give the Philistines into your hand.” 5 And David and his men went to Keilah and fought with the Philistines and brought away their livestock and struck them with a great blow. So David saved the inhabitants of Keilah.
6 When Abiathar the son of Ahimelech had fled to David to Keilah, he had come down with an ephod in his hand. 7 Now it was told Saul that David had come to Keilah. And Saul said, “God has given him into my hand, for he has shut himself in by entering a town that has gates and bars.”8 And Saul summoned all the people to war, to go down to Keilah, to besiege David and his men. 9 David knew that Saul was plotting harm against him. And he said to Abiathar the priest, “Bring the ephod here.” 10 Then said David, “O Lord, the God of Israel, your servant has surely heard that Saul seeks to come to Keilah, to destroy the city on my account. 11 Will the men of Keilah surrender me into his hand? Will Saul come down, as your servant has heard? O Lord, the God of Israel, please tell your servant.” And the Lord said, “He will come down.” 12 Then David said, “Will the men of Keilah surrender me and my men into the hand of Saul?” And the Lord said, “They will surrender you.” 13 Then David and his men, who were about six hundred, arose and departed from Keilah, and they went wherever they could go. When Saul was told that David had escaped from Keilah, he gave up the expedition. 14 And David remained in the strongholds in the wilderness, in the hill country of the wilderness of Ziph. And Saul sought him every day, but God did not give him into his hand.
Saul Pursues David
15 David saw that Saul had come out to seek his life. David was in the wilderness of Ziph at Horesh. 16 And Jonathan, Saul’s son, rose and went to David at Horesh, and strengthened his hand in God. 17 And he said to him, “Do not fear, for the hand of Saul my father shall not find you. You shall be king over Israel, and I shall be next to you. Saul my father also knows this.” 18 And the two of them made a covenant before the Lord. David remained at Horesh, and Jonathan went home.
19 Then the Ziphites went up to Saul at Gibeah, saying, “Is not David hiding among us in the strongholds at Horesh, on the hill of Hachilah, which is south of Jeshimon? 20 Now come down, O king, according to all your heart’s desire to come down, and our part shall be to surrender him into the king’s hand.” 21 And Saul said, “May you be blessed by the Lord, for you have had compassion on me. 22 Go, make yet more sure. Know and see the place where his foot is, and who has seen him there, for it is told me that he is very cunning. 23 See therefore and take note of all the lurking places where he hides, and come back to me with sure information. Then I will go with you. And if he is in the land, I will search him out among all the thousands of Judah.” 24 And they arose and went to Ziph ahead of Saul.
Now David and his men were in the wilderness of Maon, in the Arabah to the south of Jeshimon. 25 And Saul and his men went to seek him. And David was told, so he went down to the rock and lived in the wilderness of Maon. And when Saul heard that, he pursued after David in the wilderness of Maon. 26 Saul went on one side of the mountain, and David and his men on the other side of the mountain. And David was hurrying to get away from Saul. As Saul and his men were closing in on David and his men to capture them, 27 a messenger came to Saul, saying, “Hurry and come, for the Philistines have made a raid against the land.” 28 So Saul returned from pursuing after David and went against the Philistines. Therefore that place was called the Rock of Escape.  29  And David went up from there and lived in the strongholds of Engedi.