71 It happened, when the king lived in his house, and Yahweh had given him rest from all his enemies all around, 2 that the king said to Nathan the prophet, “See now, I dwell in a house of cedar, but the ark of God dwells within curtains.” 3 Nathan said to the king, “Go, do all that is in your heart; for Yahweh is with you.”
4 It happened the same night, that the word of Yahweh came to Nathan, saying, 5 “Go and tell my servant David, ‘Thus says Yahweh, “Shall you build me a house for me to dwell in? 6 For I have not lived in a house since the day that I brought up the children of Israel out of Egypt, even to this day, but have moved around in a tent and in a tabernacle. 7 In all places in which I have walked with all the children of Israel, did I say a word to any of the tribes of Israel, whom I commanded to be shepherd of my people Israel, saying, ‘Why have you not built me a house of cedar?’”’ 8 Now therefore you shall tell my servant David this, ‘Thus says Yahweh of Armies, “I took you from the sheep pen, from following the sheep, that you should be prince over my people, over Israel. 9 I have been with you wherever you went, and have cut off all your enemies from before you. I will make you a great name, like the name of the great ones who are in the earth. 10 I will appoint a place for my people Israel, and will plant them, that they may dwell in their own place, and be moved no more; neither shall the children of wickedness afflict them any more, as at the first, 11 and as from the day that I commanded judges to be over my people Israel. I will cause you to rest from all your enemies. Moreover Yahweh tells you that Yahweh will make you a house. 12 When your days are fulfilled, and you shall sleep with your fathers, I will set up your seed after you, who shall proceed out of your bowels, 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 stripes of the children of men; 15 but my loving kindness shall not depart from him, as I took it from Saul, whom I put away before you. 16 Your house and your kingdom shall be made sure forever before you. Your throne shall be established forever.”’”
Matthew Henry's Commentary on 2 Samuel 7:1-16
Commentary on 2 Samuel 7:1-3
(Read 2 Samuel 7:1-3)
David being at rest in his palace, considered how he might best employ his leisure and prosperity in the service of God. He formed a design to build a temple for the ark. Nathan here did not speak as a prophet, but as a godly man, encouraging David by his private judgment. We ought to do all we can to encourage and promote the good purposes and designs of others, and, as we have opportunity, to forward a good work.
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.