1 Chronicles 28:7

7 I will establish his kingdom forever if he perseveres in keeping My commandments and My ordinances as [he is] today.'

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 the Lord has given me many sons-He has chosen my son Solomon to sit on the throne of the Lord's kingdom over Israel.
6 He said to me, 'Your son Solomon is the one who is to build My house and My courts, for I have chosen him to be My son, and I will be his father.
7 I will establish his kingdom forever if he perseveres in keeping My commandments and My ordinances as [he is] today.'
8 "So now in the sight of all Israel, the assembly of the Lord, and in the hearing of our God, observe and seek after all the commandments of the Lord your God so that you may possess this good land and leave it as an inheritance to your descendants forever.
9 "As for you, Solomon my son, know the God of your father, and serve Him with a whole heart and a willing mind, for the Lord searches every heart and understands the intention of every thought. If you seek Him, He will be found by you, but if you forsake Him, He will reject you forever.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.