38 It shall be, if you will listen to all that I command you, and will walk in my ways, and do that which is right in my eyes, to keep my statutes and my commandments, as David my servant did; that I will be with you, and will build you a sure house, as I built for David, and will give Israel to you.
*Minor differences ignored. Grouped by changes, with first version listed as example.
See the marginal references. To "build a sure house," or "give a house," is to give a continuity of offspring, and so secure the perpetuity of a family. The promise, it will be observed, is conditional; and as the condition was not complied with, it did not take effect (see 1-Kings 14:8-14). The entire house of Jeroboam was destroyed by Baasha 1-Kings 15:29.
And build thee a sure house - He would have continued his posterity on the throne of Israel, had he not by his wickedness forfeited the promises of God, and thrown himself out of the protection of the Most High.
And it shall be, if thou wilt hearken unto all that I command thee,.... And be obedient thereunto:
and wilt walk in my ways; directed to in the law of Moses:
and do that is right in my sight, to keep my statutes, and my commandments; those particularly respecting divine worship:
as David my servant did; who very diligently and constantly attended to the ordinances of religion:
that I will be with thee; to guide and direct, protect and defend, prosper and succeed:
and build thee a sure house, as I built for David; continue the succession of the kingdom in his posterity:
and will give Israel unto thee; to rule over them.
*More commentary available at chapter level.