And it shall come to pass, when thy days be expired that thou must go to be with thy fathers, to await the great resurrection of the dead, that I will raise up thy Seed after thee, which shall be of thy sons; and I will establish His kingdom. The nearest reference is probably that concerning Solomon, but the Messianic idea comes out more strongly as the announcement progresses.
Related Commentaries of 1 Chronicles 17:11
1 Chronicles 17:11
11 And it shall come to pass, when thy days be expired that thou must go to be with thy fathers, that I will raise up thy seed after thee, which shall be of thy sons; and I will establish his kingdom.