 God did this because David had done what was right in his eyes; for all the days of his life, he had not turned away from anything that he commanded him, except only in the matter of Uriah the Hittite. 