2 Chronicles 6:9

Nevertheless you shall not build the house, but your son who will be born to you, he shall build the house for My Name.’

2 Samuel 7:12-13

When your days are fulfilled and you lie down [in death] with your fathers (ancestors), I will raise up your descendant after you, who shall be born to you, and I will establish his kingdom.

1 Chronicles 17:4

“Go and tell David My servant, ‘Thus says the Lord, “You shall not build a house for Me to dwell in;

1 Chronicles 17:11-12

And it shall come to pass that when your days are completed and you must go to be with your fathers [in death], I will raise up one of your descendants after you, one of your own sons; and I will establish his kingdom.

Treasury of Scripture Knowledge

Summary

Notwithstanding thou shalt not build the house; but thy son which shall come forth out of thy loins, he shall build the house for my name.

Bible References

Thy son

2 Samuel 7:12
When your days are fulfilled and you lie down [in death] with your fathers (ancestors), I will raise up your descendant after you, who shall be born to you, and I will establish his kingdom.
1 Chronicles 17:4
“Go and tell David My servant, ‘Thus says the Lord, “You shall not build a house for Me to dwell in;