Because David did that which was right in the eyes of the LORD, and turned not aside from anything that he commanded him all the days of his life, except 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 God was in him, to do justice.
And if you will walk before me, as David your father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded you, and will keep my statutes and my judgments:
Son of man, prophesy against the shepherds of Israel, prophesy, and say unto them, Thus says the Lord GOD 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 my own heart, who shall fulfill all my will.