1 Chronicles 28:7

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.

1 Chronicles 28:7 Meaning and Commentary

1 Chronicles 28:7

Moreover, I will establish his kingdom for ever
The same is said in ( 2 Samuel 7:13 )

if he be constant to do my commandments, and my judgments, as at this
day;
if he continued in the observance of them, as he had begun, and went on in until that day; this is added here, and was not spoken by Nathan, when what goes before was; for Solomon was not then born, but must be suggested to David since, and as it should seem at this time.

1 Chronicles 28:7 In-Context

5 and out of all my sons -- for many sons hath Jehovah given to me -- He also fixeth on Solomon my son, to sit on the throne of the kingdom of Jehovah over Israel,
6 and saith to me, Solomon thy son, he doth build My house, and My courts, for I have fixed on him to Me for a son, and I -- I am to him for a father,
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.
Young's Literal Translation is in the public domain.