1 Chronicles 28:3-9 AMP

3 But God said to me, You shall not build a house for My Name [and Presence], because you have been a man of war and have shed blood.

4 However, the Lord, the God of Israel, chose me before all my father's house to be king over Israel forever. For He chose Judah to be the ruler; and of the house of Judah he chose the house of my father; and among the sons of my father He was pleased to make me king over all Israel;

5 And of all my sons, for the Lord has given me many sons, He has chosen Solomon my son to sit upon the throne of the kingdom of the Lord over Israel.

6 And He said to me, Solomon your son shall 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 loyally and continuously obeys My commandments and My ordinances, as he does today.

8 Now therefore, in the sight of all Israel, the assembly of the Lord, and in the hearing of our God, keep and seek [to be familiar with] all the commandments of the Lord your God, that you may possess this good land and leave it as an inheritance for your children after you forever.

9 And you, Solomon my son, know the God of your father [have personal knowledge of Him, be acquainted with, and understand Him; appreciate, heed, and cherish Him] and serve Him with a blameless heart and a willing mind. For the Lord searches all hearts and minds and understands all the wanderings of the thoughts. If you seek Him [inquiring for and of Him and requiring Him as your first and vital necessity] you will find Him; but if you forsake Him, He will cast you off forever!