Then David said, "Here shall be the house of the Lord God and here the altar of burnt offering for Israel."
David gave orders to gather together the aliens who were residing in the land of Israel, and he set stonecutters to prepare dressed stones for building the house of God.
David also provided great stores of iron for nails for the doors of the gates and for clamps, as well as bronze in quantities beyond weighing,
and cedar logs without number—for the Sidonians and Tyrians brought great quantities of cedar to David.
For David said, "My son Solomon is young and inexperienced, and the house that is to be built for the Lord must be exceedingly magnificent, famous and glorified throughout all lands; I will therefore make preparation for it." So David provided materials in great quantity before his death.
Then he called for his son Solomon and charged him to build a house for the Lord, the God of Israel.
David said to Solomon, "My son, I had planned to build a house to the name of the Lord my God.
But the word of the Lord came to me, saying, "You have shed much blood and have waged great wars; you shall not build a house to my name, because you have shed so much blood in my sight on the earth.
See, a son shall be born to you; he shall be a man of peace. I will give him peace from all his enemies on every side; for his name shall be Solomon, and I will give peace and quiet to Israel in his days.
References for 1 Chronicles 22:9
He shall build a house for my name. He shall be a son to me, and I will be a father to him, and I will establish his royal throne in Israel forever.'
Now, my son, the Lord be with you, so that you may succeed in building the house of the Lord your God, as he has spoken concerning you.