Matthew Henry on 2 Samuel 7:1-3
Here is, I. David at rest. He sat in his house (Sa2 7:1), quiet and undisturbed, having no occasion to take the field: The Lord had given him rest round about, from all those that were enemies to his settlement in the throne, and he set himself to enjoy that rest. Though he was a man of war, he was for peace (Psa 120:7) and did not delight in war. He had not been long at rest, nor was it long before he was again engaged in war; but at present he enjoyed a calm, and he was in his element when he was sitting in his house, meditating in the law of God.
II. David's thought of building a temple for the honour of God. He had built a palace for himself and a city for his servants; and now he thinks…
Read the whole note in the consoleAdam Clarke on 2 Samuel 7:1
When the king sat in his house - That is, when he became resident in the palace which Hiram, king of Tyre, had built for him.
And the Lord had given him rest - This was after he had defeated the Philistines, and cast them out of all the strong places in Israel which they had possessed after the overthrow of Saul; but before he had carried his arms beyond the land of Israel, against the Moabites, Syrians, and Idumeans. See Sa2 8:1-14.
John Gill on 2 Samuel 7:1
And it came to pass, when the king sat in his house,.... Which Hiram's servants had built for him, having no occasion to go out to war:
and the Lord had given him rest round about from all his enemies; both at home and abroad; though this rest and peace did not last long; for the next chapter gives an account of each of the people he was engaged in war with, 2 Samuel 8:1.
Keil & Delitzsch on 2 Samuel 7:1-3
Sa2 7:1-3
When David was dwelling in his house, i.e., the palace of cedar (Sa2 5:11), and Jehovah had given him rest from all his enemies round about, he said to Nathan the prophet: "See now, I dwell in a house of cedar, and the ark of God dwelleth within the curtains." היריעה in the singular is used, In Exo 26:2., to denote the inner covering, composed of a number of lengths of tapestry sewn together, which was spread over the planks of the tabernacle, and made it into a dwelling, whereas the separate pieces of tapestry are called יריעת in the plural; and hence, in the later writers, יריעות alternates sometimes with אהל (Isa 54:2), and at other times with אהלים (Sol 1:5; Jer 4:20; Jer 49:29…