The LORD rewarded me [David] according to my righteousness: according to the
cleanness of my hands hath he recompensed me. -- 2 Samuel:22:21
Therefore the LORD hath recompensed me according to my righteousness; according to my cleanness in his eye sight.
-- 2 Samuel 22:25
And if thou wilt walk in my ways, to keep my statutes and my commandments, as thy father David did walk, then I will lengthen thy days.
[God talking to Solomon in a dream] -- 1 Kings 3:14
And if thou wilt walk before me, as David thy father walked, in integrity of heart, and in uprightness, to do according
to all that I have commanded thee, and wilt keep my statutes and my judgments: --
1 Kings 9:4
Thou hast not been as my servant David, who kept my commandments, and who followed me with all his heart, to do that only which was
right in mine eyes. 1 Kings 14:8