1 Kings 15:5

ISV(i) 5 because David had practiced what the LORD considered to be right. He never avoided anything that the LORD had commanded him during his entire lifetime, except for the case of Uriah the Hittite.