because David did that which was right in the eyes of the LORD, and didn't turn aside from anything that he commanded him all the days of his life, except only in the matter of Uriyah the Chittite.
As for you, 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 ordinances;
Son of man, prophesy against the shepherds of Yisra'el, prophesy, and tell them, even to the shepherds, Thus says the Lord GOD: Woe to the shepherds of Yisra'el who feed themselves! Shouldn't the shepherds feed the sheep?
When he had removed him, he raised up David to be their king, to whom he also testified, 'I have found David the son of Yishai, a man after my heart, who will do all my will.'