# what was right in his eyes
"what Yahweh judges to be right"
# for all the days of his life
"throughout David's whole life"
# he had not turned away from anything that he commanded him, except only in the matter of Uriah the Hittite
"the only time David turned away from anything that God commanded him was in the matter of Uriah the Hittite" or "except when he caused Uriah the Hittite to be killed"