6 For I have not dwelt in a house since the day that I brought up the children of Israel out of Egypt, even to this day, but I went about in a tent and in a tabernacle. 7 In all my going about with all the children of Israel, did I speak a word with any of the tribes of Israel, whom I commanded to feed my people Israel, saying, Why build ye me not a house of cedars? 8 And now, thus shalt thou say unto my servant David, Thus saith Jehovah of hosts: I took thee from the pasture-grounds, from following the sheep, to be prince over my people, over Israel; 9 and I have been with thee whithersoever thou wentest, and have cut off all thine enemies from before thee, and have made thee a great name, like unto the name of the great men that are on the earth. 10 And I will appoint a place for my people, for Israel, and will plant them, that they may dwell in a place of their own, and be disturbed no more; neither shall the sons of wickedness afflict them any more, as formerly, 11 and since the time that I commanded judges to be over my people Israel. And I have given thee rest from all thine enemies; and Jehovah telleth thee that Jehovah will make thee a house. 12 When thy days are fulfilled, and thou shalt sleep with thy fathers, I will set up thy seed after thee, which shall proceed out of thy bowels, and I will establish his kingdom. 13 It is he who shall build a house for my name, and I will establish the throne of his kingdom for ever. 14 I will be his father, and he shall be my son. If he commit iniquity, I will chasten him with the rod of men and with the stripes of the sons of men; 15 but my mercy shall not depart away from him, as I took it from Saul, whom I put away from before thee. 16 And thy house and thy kingdom shall be made firm for ever before thee: thy throne shall be established for ever.
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.