1 Chronicles 22:5-7

22:5 David said, “My son Solomon is just an inexperienced young man, and the temple to be built for the Lord must be especially magnificent so it will become famous and be considered splendid by all the nations. Therefore I will make preparations for its construction.” So David made extensive preparations before he died.

22:6 He summoned his son Solomon and charged him to build a temple for the Lord God of Israel. 22:7 David said to Solomon: “My son, I really wanted to build a temple to honor the Lord my God.