1 Chronicles 28:7-10

7 and I have established his kingdom to the age, if he is strong to do My commands, and My judgments, as at this day.
8 `And now, before the eyes of all Israel, the assembly of Jehovah, and in the ears of our God, keep and seek all the commands of Jehovah your God, so that ye possess this good land, and have caused your sons to inherit after you unto the age.
9 `And thou, Solomon, my son, know the God of thy father, and serve Him with a perfect heart, and with a willing mind, for all hearts is Jehovah seeking, and every imagination of the thoughts He is understanding; if thou dost seek Him, He is found of thee, and if thou dost forsake Him, He casteth thee off for ever.
10 See, now, for Jehovah hath fixed on thee to build a house for a sanctuary; be strong, and do.'

1 Chronicles 28:7-10 Meaning and Commentary

INTRODUCTION TO 1 CHRONICLES 28

David, having convened the principal men of the nation, declared Solomon his successor, whom God had chosen both to be king, and to build the temple, 1Ch 28:1-7, and exhorted both them and him to serve the Lord, and build an house for him, 1Ch 28:8-10, then gave Solomon the pattern of it, and an account of the materials he had prepared for it, 1Ch 28:11-19, and encouraged him to go about the work with alacrity and intrepidity, 1Ch 28:20,21.

Young's Literal Translation is in the public domain.