1 Kings 15:4-5

Webster(i) 4 Nevertheless, for David's sake the LORD his God gave him a lamp in Jerusalem, to set up his son after him, and to establish Jerusalem: 5 Because David did that which was right in the eyes of the LORD, 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.