Because David did that which was right in the eyes of Yahweh, and turned not aside from any thing that he commanded him all the days of his life, save only in the matter of Uriah the Hittite.
And all Israel heard of the judgment which the king had judged; and they feared the king: for they saw that the wisdom of Elohim was in him, to do judgment.
And if thou wilt walk before me, as David thy father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded thee, and wilt keep my statutes and my judgments:
Son of man, prophesy against the shepherds of Israel, prophesy, and say unto them, Thus saith the Sovereign Yahweh unto the shepherds; Woe be to the shepherds of Israel that do feed themselves Should not the shepherds feed the flocks?
And when he had removed him, he raised up unto them David to be their king; to whom also he gave testimony, and said, I have found David the son of Jesse, a man after mine own heart, which shall fulfil all my will.