2 Samuel 1:14-16

14 David asked, "Why weren't you afraid to take it upon yourself to destroy the LORD's anointed king?"

15 Then David called one of [his] young men and told him, "Come here and attack him." David's young man executed him

16 while David said, "You are responsible for spilling your own blood. You testified against yourself when you said, 'I killed the LORD's anointed king.'"