1 Chronicles 28:7-10 NLT

7 And if he continues to obey my commands and regulations as he does now, I will make his kingdom last forever.’
8 “So now, with God as our witness, and in the sight of all Israel—the LORD ’s assembly—I give you this charge. Be careful to obey all the commands of the LORD your God, so that you may continue to possess this good land and leave it to your children as a permanent inheritance.
9 “And Solomon, my son, learn to know the God of your ancestors intimately. Worship and serve him with your whole heart and a willing mind. For the LORD sees every heart and knows every plan and thought. If you seek him, you will find him. But if you forsake him, he will reject you forever.
10 So take this seriously. The LORD has chosen you to build a Temple as his sanctuary. Be strong, and do the work.”