1 Chronicles 28:6-10

28:6 He said to me, ‘Solomon your son is the one who will build my temple and my courts, for I have chosen him to become my son and I will become his father. 28:7 I will establish his kingdom permanently, if he remains committed to obeying my commands and regulations, as you are doing this day.’ 28:8 So now, in the sight of all Israel, the Lord’s assembly, and in the hearing of our God, I say this: Carefully observe all the commands of the Lord your God, so that you may possess this good land and may leave it as a permanent inheritance for your children after you.

28:9 “And you, Solomon my son, obey the God of your father and serve him with a submissive attitude and a willing spirit, for the Lord examines all minds and understands every motive of one’s thoughts. If you seek him, he will let you find him, but if you abandon him, he will reject you permanently. 28:10 Realize now that the Lord has chosen you to build a temple as his sanctuary. Be strong and do it!”