5 because David did that which was right in the eyes of Yahweh, and didn't turn aside from anything that he commanded him all the days of his life, except only in the matter of Uriah the Hittite.
*Minor differences ignored. Grouped by changes, with first version listed as example.
Save only in the matter of Uriah - Properly speaking, this is the only flagrant fault or crime in the life of David. It was a horrible offense, or rather a whole system of offenses. See the notes on 2 Samuel 11 (note), and 2 Samuel 12 (note).
Because David did that which was right in the eyes of the Lord,.... With respect to worship: and turned not aside from anything that he commanded him all the days of his life; especially in matters of religion, nor even in his moral walk and conversation, deliberately, studiously, and with design:
save only in the matter of Uriah the Hittite; the killing of him, and other sins which led on to it, and were in connection with it; Abarbinel thinks, because the affair of Bathsheba is not mentioned, that was not reckoned to David as a sin; but no doubt it was, and is included here.
Save only - This and the like phrases are not to be understood as exclusive of every sinful action, hut only of an habitual and continued apostasy from God, as the very phrase of turning aside from God, or from his commands, doth constantly imply. And thus it is most true. For David's other sins were either sudden and transient acts, soon repented of and blotted out, as in the cases of Nabal and Achish; or, mistakes of his judgment, which was not fully convinced of the sinfulness of such actions: whereas that which concerned Uriah's wife was a designed and studied sin, long continued in, defended with a succession of other sins, presumptuous, and scandalous to his government, and to the true religion.
*More commentary available at chapter level.