Then the Ziphites came to Saul at Gibe-ah, saying, “Is not David hiding himself on the hill of Hachilah, which is on the east of Jeshimon?” So Saul arose and went down to the wilderness of Ziph, with three thousand chosen men of Israel, to seek David in the wilderness of Ziph. And Saul encamped on the hill of Hachilah, which is beside the road on the east of Jeshimon. But David remained in the wilderness; and when he saw that Saul came after him into the wilderness, David sent out spies, and learned of a certainty that Saul had come. Then David rose and came to the place where Saul had encamped; and David saw the place where Saul lay, with Abner the son of Ner, the commander of his army; Saul was lying within the encampment, while the army was encamped around him.
Then David said to Ahimelech the Hittite, and to Joab’s brother Abishai the son of Zeruiah, “Who will go down with me into the camp to Saul?” And Abishai said, “I will go down with you.” So David and Abishai went to the army by night; and there lay Saul sleeping within the encampment, with his spear stuck in the ground at his head; and Abner and the army lay around him. Then said Abishai to David, “God has given your enemy into your hand this day; now therefore let me pin him to the earth with one stroke of the spear, and I will not strike him twice.” But David said to Abishai, “Do not destroy him; for who can put forth his hand against the Lord’s anointed, and be guiltless?” And David said, “As the Lord lives, the Lord will smite him; or his day shall come to die; or he shall go down into battle and perish. The Lord forbid that I should put forth my hand against the Lord’s anointed; but take now the spear that is at his head, and the jar of water, and let us go.” So David took the spear and the jar of water from Saul’s head; and they went away. No man saw it, or knew it, nor did any awake; for they were all asleep, because a deep sleep from the Lord had fallen upon them.
Then David went over to the other side, and stood afar off on the top of the mountain, with a great space between them; and David called to the army, and to Abner the son of Ner, saying, “Will you not answer, Abner?” Then Abner answered, “Who are you that calls to the king?” And David said to Abner, “Are you not a man? Who is like you in Israel? Why then have you not kept watch over your lord the king? For one of the people came in to destroy the king your lord. This thing that you have done is not good. As the Lord lives, you deserve to die, because you have not kept watch over your lord, the Lord’s anointed. And now see where the king’s spear is, and the jar of water that was at his head.”
Saul recognized David’s voice, and said, “Is this your voice, my son David?” And David said, “It is my voice, my lord, O king.” And he said, “Why does my lord pursue after his servant? For what have I done? What guilt is on my hands? Now therefore let my lord the king hear the words of his servant. If it is the Lord who has stirred you up against me, may he accept an offering; but if it is men, may they be cursed before the Lord, for they have driven me out this day that I should have no share in the heritage of the Lord, saying, ‘Go, serve other gods.’ Now therefore, let not my blood fall to the earth away from the presence of the Lord; for the king of Israel has come out to seek my life, like one who hunts a partridge in the mountains.”
Then Saul said, “I have done wrong; return, my son David, for I will no more do you harm, because my life was precious in your eyes this day; behold, I have played the fool, and have erred exceedingly.” And David made answer, “Here is the spear, O king! Let one of the young men come over and fetch it. The Lord rewards every man for his righteousness and his faithfulness; for the Lord gave you into my hand today, and I would not put forth my hand against the Lord’s anointed. Behold, as your life was precious this day in my sight, so may my life be precious in the sight of the Lord, and may he deliver me out of all tribulation.” Then Saul said to David, “Blessed be you, my son David! You will do many things and will succeed in them.” So David went his way, and Saul returned to his place. (1 Samuel 26:1-25)