2 Samuel 7 · a question people ask
Was Nathan wrong to tell David, "Go, do all that is in your heart"?
The chapter doesn't say. Nathan said, "Go, do all that is in your heart, for the LORD is with you" (7:3). "That same night, the LORD’s word came to Nathan" (7:4), and afterward "Nathan spoke to David all these words, and according to all this vision" (7:17). The text reports what Nathan said and what the LORD said, and passes no judgment on Nathan. The LORD's word does say what Nathan's last words said: "I have been with you wherever you went" (7:9). And Solomon later tells what the LORD said to David about what was in his heart: "you did well that it was in your heart" (1 Kings 8:18).
The verses
“Nathan said to the king, “Go, do all that is in your heart, for the LORD is with you.” That same night, the LORD’s word came to Nathan, saying,”
“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 on the earth.”
“Nathan spoke to David all these words, and according to all this vision.”
““Now it was in the heart of David my father to build a house for the name of the LORD, the God of Israel. But the LORD said to David my father, ‘Whereas it was in your heart to build a house for my name, you did well that it was in your heart.”