The Ziphites go to Gibeah to tell Saul that David is hiding on the hill of Hachilah. Saul goes down to the wilderness of Ziph with three thousand chosen men and camps beside the road. David learns of it, sends out spies and confirms that Saul has come. Then he goes up with Abishai son of Zeruiah and they enter the camp at night. Saul is sleeping in the middle, with his spear stuck in the ground by his head, and Abner and the army sleep around him.
Abishai says God has given his enemy into his hand today and asks permission to pin him to the ground with one stroke. David answers that he must not kill him, for no one can raise his hand against the Lord's anointed and be guiltless. He says the Lord will strike him, or his day will come, or he will die in battle, but the Lord forbid that he should raise his hand against the Lord's anointed. David takes the spear and the water jar at his head, and they go away. No one sees or knows, for a deep sleep from the Lord had fallen on them all.
David crosses over and from the top of the hill calls to Abner, asking why he did not guard his lord, for someone has come in to kill the king. Saul recognizes David's voice. David asks why he pursues him, what he has done, and says that if the Lord has stirred Saul against him, let him accept an offering; but if men have, let them be cursed, for they have driven him out from his share in the Lord's inheritance. Saul says he has sinned, that David should return as his son and that he will not harm him again, and he confesses that he has acted foolishly and has erred greatly.
David tells him to send one of his young men to fetch the spear. The Lord rewards each man for his righteousness and faithfulness, and as he has valued Saul's life today, he asks that the Lord value his. Saul blesses him and says David will surely do great things and prevail. Each goes back to his place.