Shared ground
These verses present a quick reversal: Nathan had voiced support for David’s idea, but God speaks “that night” and sends Nathan back with a new message (vv. 4–5). The text makes a clear distinction between a prophet’s initial judgment and a direct word from Yahweh.
God’s message begins with a pointed question about whether David is the one who should build God a “house” (v. 5). In context, “house” is not just any building; it is a settled, temple-like dwelling in contrast to the portable tent.
God grounds the question in Israel’s story: since the exodus God has not lived in a fixed structure, but has “walked” with Israel in a tent (v. 6). God also says he never demanded a cedar house from Israel’s leaders appointed to shepherd the people (v. 7). The lack of a prior command is part of the argument.
Where interpretation differs
A main question is what God’s opening question implies (v. 5). Some read it as a direct “no” to David’s plan, at least for the present. Others read it as a deeper challenge: the issue is not construction itself but the assumption that God needs a royal-sponsored building, or that David gets to set the agenda.
A second difference concerns the tone of vv. 6–7. Some see them mainly as reassurance that God has willingly identified with a mobile people (God “walked” with them), so a tent is not second-best. Others hear a mild rebuke: the desire for cedar may reflect royal display or a misunderstanding of God’s presence.
Why the disagreement exists
The passage uses rhetorical questions and reasoning from past practice, without yet stating the final outcome in these verses. Also, “house” can carry more than one sense in this chapter (dwelling/temple vs. dynasty), and vv. 4–7 only introduce the pivot.
What this passage clearly contributes
Explicitly, the text shows God redirecting a well-intended plan through prophetic revelation (vv. 4–5). It also stresses God’s freedom and initiative: God has chosen to be present with Israel in a movable tent since the exodus, and God has not treated a permanent cedar building as a requirement (vv. 6–7). The logic is: before assuming God needs something, ask whether God has asked for it. See also 2 Samuel 7:4 and 2 Samuel 7:7.