1 Chronicles 22:5

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.

1 Chronicles 28:4

28:4 The Lord God of Israel chose me out of my father’s entire family to become king over Israel and have a permanent dynasty. Indeed, he chose Judah as leader, and my father’s family within Judah, and then he picked me out from among my father’s sons and made me king over all Israel.