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:11-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.