He said to his men, Yahweh forbid that I should do this thing to my lord, Yahweh's anointed, to put forth my hand against him, seeing he is Yahweh's anointed.
This little incident provides another window into David’s thinking. David was acknowledging Yahweh’s sovereignty by submitting to His authority in setting Saul up as king (cf. Proverbs 24:21). David refused to take revenge for the trouble that Saul had caused him.