1 Kings 11:38

38 and it hath been, if thou dost hear all that I command thee, and hast walked in My ways, and done that which is right in Mine eyes, to keep My statutes and My commands, as did David My servant, that I have been with thee, and have built for thee a stedfast house, as I built for David, and have given to thee Israel,

1 Kings 11:38 Meaning and Commentary

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.

1 Kings 11:38 In-Context

36 and to his son I give one tribe, for there being a lamp to David My servant all the days before Me in Jerusalem, the city that I have chosen to Myself to put My name there.
37 `And thee I take, and thou hast reigned over all that thy soul desireth, and thou hast been king over Israel;
38 and it hath been, if thou dost hear all that I command thee, and hast walked in My ways, and done that which is right in Mine eyes, to keep My statutes and My commands, as did David My servant, that I have been with thee, and have built for thee a stedfast house, as I built for David, and have given to thee Israel,
39 and I humble the seed of David for this; only, not all the days.'
40 And Solomon seeketh to put Jeroboam to death, and Jeroboam riseth and fleeth to Egypt, unto Shishak king of Egypt, and he is in Egypt till the death of Solomon.
Young's Literal Translation is in the public domain.