1 Kings 11:38

38 If you do whatever I command you and walk in obedience to me and do what is right in my eyes by obeying my decrees and commands, as David my servant did, I will be with you. I will build you a dynasty as enduring as the one I built for David and will give Israel to you.

Read 1 Kings 11:38 Using Other Translations

And it shall be, if thou wilt hearken unto all that I command thee, and wilt walk in my ways, and do that is right in my sight, to keep my statutes and my commandments, as David my servant did; that I will be with thee, and build thee a sure house, as I built for David, and will give Israel unto thee.
And if you will listen to all that I command you, and will walk in my ways, and do what is right in my eyes by keeping my statutes and my commandments, as David my servant did, I will be with you and will build you a sure house, as I built for David, and I will give Israel to you.
If you listen to what I tell you and follow my ways and do whatever I consider to be right, and if you obey my decrees and commands, as my servant David did, then I will always be with you. I will establish an enduring dynasty for you as I did for David, and I will give Israel to you.

What does 1 Kings 11:38 mean?

John Gill's Exposition of the Bible
1 Kings 11:38

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.

California - Do Not Sell My Personal Information  California - CCPA Notice