1 Kings 15:5

CLV(i) 5 in that David did that which [is] right in the eyes of Yahweh, and turned not aside from all that He commanded him all days of his life--only in the matter of Uriah the Hittite;"