1 Chronicles 28:7-9

NHEB(i) 7 I will establish his kingdom forever, if he continues to do my commandments and my ordinances, as at this day.' 8 Now therefore, in the sight of all Israel, the assembly of the LORD, and in the audience of our God, observe and seek out all the commandments of the LORD your God; that you may possess this good land, and leave it for an inheritance to your children after you forever. 9 You, Solomon my son, know the God of your father, and serve him with a perfect heart and with a willing mind; for the LORD searches all hearts, and understands all the imaginations of the thoughts. If you seek him, he will be found by you; but if you forsake him, he will cast you off forever.