1 Kings 8:19-20

19 aNevertheless, you shall not build the house, but your son who shall be born to you shall build the house for my name.’ 20Now the Lord has fulfilled his promise that he made. For I have risen in the place of David my father, and sit on the throne of Israel, bas the Lord promised, and I have built the house for the name of the Lord, the God of Israel.

1 Chronicles 28:5-6

5And of call my sons (for the Lord has given me many sons) he dhas chosen Solomon my son to sit on the throne of the kingdom of the Lord over Israel. 6He said to me, ‘It is eSolomon your son who shall build my house and my courts, for I have chosen him to be my son, and I will be his father.
Copyright information for ESV