David had his chances to kill the king who tried to kill him on many occasions.  But he would not raise a hand against God's anointed.  

Bible References:  1 Samuel 24 and 1 Samuel 26