1 Kings 15:5 NIV

5 For David had done what was right in the eyes of the LORD and had not failed to keep1 any of the LORD's commands all the days of his life--except in the case of Uriah2 the Hittite.

References for 1 Kings 15:5