Now when the king lived in his house and the Lord had given him rest from all his surrounding enemies, the king said to Nathan the prophet, “See now, I dwell in a house of cedar, but the ark of God dwells in a tent.” And Nathan said to the king, “Go, do all that is in your heart, for the Lord is with you.” 2 Samuel 7:1-3.
This seemed like a good idea to Nathan, too. They both want to honor God, and David feels like God is getting less honor than the king if the king lives in a nice house of cedar while the presence of God is in a tent.
The word of the Lord will come to Nathan that night, saying, “In all places where I have moved with all the people of Israel, did I speak a word with any of the judges of Israel, whom I commanded to shepherd my people Israel, saying, ‘Why have you not built me a house of cedar?'” (v 7).
Then, the Lord goes on to tell Nathan to tell David that it is His plan to make David’s house, or lineage, great. He tells him how his son will build a house for God, and that David’s throne would be established forever.
If you keep reading the Bible, it will become apparent that at some point Israel goes into captivity, sees it’s last king, and it’s Glory days are over. But one day Jesus, the Messiah, is born into the house of David, lays down his life to take the punishment for the sin of mankind, takes it up again, is seen alive by hundreds of people, and ascends to His eternal throne in heaven. Now, is this some convoluted way to excuse God for failing to deliver Israel as promised, or are we, the finite specks of dust, missing something important?
From the beginning, God made man to live with Him forever. Man sinned and died spiritually, taking the whole planet with him under the curse. God wants to redeem His creation, so He sends His word to display the spiritual world to mankind. Through signs, wonders, and miracles, God reveals the spiritual world to the fallen natural world. When Jesus comes, it is to satisfy the claim of eternal punishment so God can begin restoring natural man to the spiritual world. At some point, Christ will return to claim those who believe and then this natural realm and all who rejected Him will perish. Therefore, all God’s promises are fulfilled to David because they will live in the spiritual realm long after the natural has passed away.