2 Chronicles 6:9

But you shall not build the house; but your son, who shall come forth out of your loins, shall build the house for My name.

2 Samuel 7:12-13

And when your days are fulfilled, and you shall sleep with your fathers, I will set up your seed after you, who shall come out of your bowels. And I will make his kingdom sure.

1 Chronicles 17:4

Go and tell David My servant, So says Jehovah, You shall not build Me a house to dwell in.

1 Chronicles 17:11-12

And it will be, when your days have ended so that you must go to be with your fathers, I will raise up your seed after you, who shall be from your sons. And I will make his kingdom sure.

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
And when your days are fulfilled, and you shall sleep with your fathers, I will set up your seed after you, who shall come out of your bowels. And I will make his kingdom sure.
1 Chronicles 17:4
Go and tell David My servant, So says Jehovah, You shall not build Me a house to dwell in.