6 for I have not dwelt in a house even from the day of My bringing up the sons of Israel out of Egypt, even unto this day, and am walking up and down in a tent and in a tabernacle. 7 During all 'the time' that I have walked up and down among all the sons of Israel, a word have I spoken with one of the tribes of Israel which I commanded to feed my people Israel, saying, 'Why have ye not built to Me a house of cedars? 8 and now, thus dost thou say to My servant, to David: 'Thus said Jehovah of Hosts, I have taken thee from the comely place, from after the flock, to be leader over My people, over Israel; 9 and I am with thee whithersoever thou hast gone, and I cut off all thine enemies from thy presence, and have made for thee a great name, as the name of the great ones who 'are' in the earth, 10 and I have appointed a place for My people, for Israel, and have planted it, and it hath tabernacled in its place, and it is not troubled any more, and the sons of perverseness do not add to afflict it any more, as in the beginning, 11 even from the day that I appointed judges over My people Israel; and I have given rest to thee from all thine enemies, and Jehovah hath declared to thee that Jehovah doth make for thee a house. 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; 13 He doth build a house for My Name, and I have established the throne of his kingdom unto the age. 14 I am to him for a father, and he is to Me for a son; whom in his dealings perversely I have even reproved with a rod of men, and with strokes of the sons of Adam, 15 and My kindness doth not turn aside from him, as I turned it aside from Saul, whom I turned aside from before thee, 16 and stedfast 'is' thy house and thy kingdom unto the age before thee, thy throne is established unto the age.'
Matthew Henry's Commentary on 2 Samuel 7:6-16
Commentary on 2 Samuel 7:4-17
(Read 2 Samuel 7:4-17)
Blessings are promised to the family and posterity of David. These promises relate to Solomon, David's immediate successor, and the royal line of Judah. But they also relate to Christ, who is often called David and the Son of David. To him God gave all power in heaven and earth, with authority to execute judgment. He was to build the gospel temple, a house for God's name; the spiritual temple of true believers, to be a habitation of God through the Spirit. The establishing of his house, his throne, and his kingdom for ever, can be applied to no other than to Christ and his kingdom: David's house and kingdom long since came to an end. The committing iniquity cannot be applied to the Messiah himself, but to his spiritual seed; true believers have infirmities, for which they must expect to be corrected, though they are not cast off.