2 Chronicles 6:9

but thou dost not build the house, for thy son who cometh forth out from thy loins, he doth build the house for My name.

2 Samuel 7:12-13

'When thy days are full, and thou hast lain with thy fathers, then I have raised up thy seed after thee which goeth out from thy bowels, and have established his kingdom;

1 Chronicles 17:4

'Go, and thou hast said unto David My servant, Thus said Jehovah, Thou dost not build for Me the house to dwell in:

1 Chronicles 17:11-12

and it hath come to pass, when thy days have been fulfilled to go with thy fathers, that I have raised up thy seed after thee, who is of thy sons, and I have established 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 thy days are full, and thou hast lain with thy fathers, then I have raised up thy seed after thee which goeth out from thy bowels, and have established his kingdom;
1 Chronicles 17:4
'Go, and thou hast said unto David My servant, Thus said Jehovah, Thou dost not build for Me the house to dwell in: