Now David came to Nob, to Ahimelech the priest. And Ahimelech was afraid when he met David, and said to him, “Why are you alone, and no one is with you?” So David said to Ahimelech the priest, “The king has ordered me on some business, and said to me, ‘Do not let anyone know anything about the business on which I send you, or what I have commanded you.’ And I have directed my young men to such and such a place. Now therefore, what have you on hand? Give me five loaves of bread in my hand, or whatever can be found.” And the priest answered David and said, “ There is no common bread on hand; but there is holy bread, if the young men have at least kept themselves from women.” Then David answered the priest, and said to him, “Truly, women have been kept from us about three days since I came out. And the vessels of the young men are holy, and the bread is in effect common, even though it was consecrated in the vessel this day.” So the priest gave him holy bread; for there was no bread there but the showbread which had been taken from before the Lord , in order to put hot bread in its place on the day when it was taken away. Now a certain man of the servants of Saul was there that day, detained before the Lord . And his name was Doeg, an Edomite, the chief of the herdsmen who belonged to Saul. And David said to Ahimelech, “Is there not here on hand a spear or a sword? For I have brought neither my sword nor my weapons with me, because the king’s business required haste.” So the priest said, “The sword of Goliath the Philistine, whom you killed in the Valley of Elah, there it is, wrapped in a cloth behind the ephod. If you will take that, take it. For there is no other except that one here.” And David said, “ There is none like it; give it to me.” Then David arose and fled that day from before Saul, and went to Achish the king of Gath.
I Samuel 21:1-10 NKJV
When Saul heard that David and the men who were with him had been discovered—now Saul was staying in Gibeah under a tamarisk tree in Ramah, with his spear in his hand, and all his servants standing about him— then Saul said to his servants who stood about him, “Hear now, you Benjamites! Will the son of Jesse give every one of you fields and vineyards, and make you all captains of thousands and captains of hundreds? All of you have conspired against me, and there is no one who reveals to me that my son has made a covenant with the son of Jesse; and there is not one of you who is sorry for me or reveals to me that my son has stirred up my servant against me, to lie in wait, as it is this day.” Then answered Doeg the Edomite, who was set over the servants of Saul, and said, “I saw the son of Jesse going to Nob, to Ahimelech the son of Ahitub. And he inquired of the Lord for him, gave him provisions, and gave him the sword of Goliath the Philistine.” So the king sent to call Ahimelech the priest, the son of Ahitub, and all his father’s house, the priests who were in Nob. And they all came to the king. And Saul said, “Hear now, son of Ahitub!” He answered, “Here I am, my Lord.” Then 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, that he should rise against me, to lie in wait, as it is this day?” So Ahimelech answered the king and said, “And who among all your servants is as faithful as David, who is the king’s son-in-law, who goes at your bidding, and is honorable in your house? Did I then begin to inquire of God for him? Far be it from me! Let not the king impute anything to his servant, or to any in the house of my father. For your servant knew nothing of all this, little or much.” And the king said, “You shall surely die, Ahimelech, you and all your father’s house!” Then the king said to the guards who stood about him, “Turn and kill the priests of the Lord , because their hand also is with David, and because they knew when he fled and did not tell it to me.” But the servants of the king would not lift their hands to strike the priests of the Lord . And the king said to Doeg, “You turn and kill the priests!” So Doeg the Edomite turned and struck the priests, and killed on that day eighty-five men who wore a linen ephod. Also Nob, the city of the priests, he struck with the edge of the sword, both men and women, children and nursing infants, oxen and donkeys and sheep—with the edge of the sword. Now one of the sons of Ahimelech the son of Ahitub, named Abiathar, escaped and fled after David. And Abiathar told David that Saul had killed the Lord ’s priests. 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. Stay with me; do not fear. For he who seeks my life seeks your life, but with me you shall be safe.”
I Samuel 22:6-23 NKJV