1 Kings 8:18-21 NIV

18 But the LORD said to my father David, 'Because it was in your heart to build a temple for my Name, you did well to have this in your heart.
19 Nevertheless, you1 are not the one to build the temple, but your son, who is your own flesh and blood--he is the one who will build the temple for my Name.'2

References for 1 Kings 8:19

20 "The LORD has kept the promise he made: I have succeeded3 David my father and now I sit on the throne of Israel, just as the LORD promised, and I have built4 the temple for the Name of the LORD, the God of Israel.

References for 1 Kings 8:20

21 I have provided a place there for the ark, in which is the covenant of the LORD that he made with our fathers when he brought them out of Egypt."