1 Chronicles 28:7-9

YLT(i) 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.