1 When Saul returned from following the Philistines, he was told, “Behold, David is in the wilderness of Engedi.” 2 Then Saul took three thousand chosen men out of all Israel and went to seek David and his men in front of the Wildgoats’ Rocks. 3 And he came to the sheepfolds by the way, where there was a cave, and Saul went in to relieve himself. Now David and his men were sitting in the innermost parts of the cave. 4 And the men of David said to him, “Here is the day of which the Lord said to you, ‘Behold, I will give your enemy into your hand, and you shall do to him as it shall seem good to you.’” Then David arose and stealthily cut off a corner of Saul’s robe.
1 Samuel 24:14-18
14 After whom has the king of Israel come out? After whom do you pursue? After a dead dog! After a flea! 15 May the Lord therefore be judge and give sentence between me and you, and see to it and plead my cause and deliver me from your hand.”
16 As soon as David had finished speaking these words to Saul, Saul said, “Is this your voice, my son David?” And Saul lifted up his voice and wept. 17 He said to David, “You are more righteous than I, for you have repaid me good, whereas I have repaid you evil. 18 And you have declared this day how you have dealt well with me, in that you did not kill me when the Lord put me into your hands.