1 Kings 15:5 MSG

5 For David had lived an exemplary life before God all his days, not going off on his own in willful defiance of God's clear directions (except for that time with Uriah the Hittite).