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.
And as since the time that I commanded judges to be over my people Israel,.... Before the time the judges were raised they were greatly afflicted by one nation or another around them, and between judge and judge, but now they should be no more so; here the parenthesis should end:
and have caused thee to rest from all thine enemies; this belongs to David personally, and intends the same as in 2 Samuel 7:1,
also the Lord telleth thee, that he will make thee an house; not only build up his family, and make that numerous, but establish the house of his kingdom, as the Targum; that whereas he was desirous of building an house for God, God would build up an house for him; which would be a clear proof, that though he did not think fit to make use of him in the building of his house, yet he was not cast out of his favour, nor was it to be so interpreted by himself or others.
and have caused thee to rest from all thine enemies; this belongs to David personally, and intends the same as in 2 Samuel 7:1,
also the Lord telleth thee, that he will make thee an house; not only build up his family, and make that numerous, but establish the house of his kingdom, as the Targum; that whereas he was desirous of building an house for God, God would build up an house for him; which would be a clear proof, that though he did not think fit to make use of him in the building of his house, yet he was not cast out of his favour, nor was it to be so interpreted by himself or others.