John Gill's Bible Commentary Ver. 7. In all [the places] wherein I have walked with all the children of Israel , etc.] (See Gill on “ 2 Samuel 7:6”) on the places mentioned there: spake I a word with any of the tribes of Israel ; or rather the sceptres of Israel; so the word is rendered, ( Genesis 49:10); the sceptre bearers, rulers, and governors, whose custom was to carry a sceptre in their hands, as Ben Melech observes; and so in a parallel text, ( 1 Chronicles 17:6), it is, “to any of the judges of Israel”; any of those from the times of Moses and Joshua to the times of Saul and David, and this is confirmed by what follows: whom I commanded to feed my people Israel ; that is, to rule and govern them, protect and defend them, which cannot be said of the tribes, but of the rulers of them; and the Lord asks this question, whether ever he had said a word to any of those, in all that space of time, expressing anything of this kind: saying, why build ye not me an house of cedar ? they never were bid to do it, or expostulated with why they did not, or ever reproved for not doing it; therefore why should David think of doing it?
Matthew Henry Commentary
Verses 4-17 - Blessings are promised to the family and posterity of David. Thes promises relate to Solomon, David's immediate successor, and the roya line of Judah. But they also relate to Christ, who is often calle David and the Son of David. To him God gave all power in heaven an earth, with authority to execute judgment. He was to build the gospe 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 othe than to Christ and his kingdom: David's house and kingdom long sinc 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 the are not cast off.
Original Hebrew בכל3605 אשׁר834 התהלכתי1980 בכל3605 בני1121 ישׂראל3478 הדבר1697 דברתי1696 את854 אחד259 שׁבטי7626 ישׂראל3478 אשׁר834 צויתי6680 לרעות7462 את853 עמי5971 את853 ישׂראל3478 לאמר559 למה4100 לא3808 בניתם1129 לי בית1004 ארזים׃730