4 But it happened that night that the word of the Lord came to Nathan, saying, 5 "Go and tell My servant David, 'Thus says the Lord: "Would you build a house for Me to dwell in? 6 For I have not dwelt in a house since the time that I brought the children of Israel up from Egypt, even to this day, but have moved about in a tent and in a tabernacle. 7 Wherever I have moved about with all the children of Israel, have I ever spoken a word to anyone from the tribes of Israel, whom I commanded to shepherd My people Israel, saying, 'Why have you not built Me a house of cedar?' " ' 8 Now therefore, thus shall you say to My servant David, 'Thus says the Lord of hosts: "I took you from the sheepfold, from following the sheep, to be ruler over My people, over Israel. 9 And I have been with you wherever you have gone, and have cut off all your enemies from before you, and have made you a great name, like the name of the great men who are on the earth. 10 Moreover I will appoint a place for My people Israel, and will plant them, that they may dwell in a place of their own and move no more; nor shall the sons of wickedness oppress them anymore, as previously, 11 since the time that I commanded judges to be over My people Israel, and have caused you to rest from all your enemies. Also the Lord tells you that He will make you a house. 12 "When your days are fulfilled and you rest with your fathers, I will set up your seed after you, who will come from your body, and I will establish his kingdom. 13 He shall build a house for My name, and I will establish the throne of his kingdom forever. 14 I will be his Father, and he shall be My son. If he commits iniquity, I will chasten him with the rod of men and with the blows of the sons of men. 15 But My mercy shall not depart from him, as I took it from Saul, whom I removed from before you. 16 And your house and your kingdom shall be established forever before you. Your throne shall be established forever." ' " 17 According to all these words and according to all this vision, so Nathan spoke to David.

Matthew Henry's Commentary on 2 Samuel 7:4-17

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.