When David was settled in his palace, he summoned Nathan the prophet. “Look,” David said, “I am living in a beautiful cedar palace, but the Ark of the LORD ’s Covenant is out there under a tent!”
References for 1 Chronicles 17:1
Nathan replied to David, “Do whatever you have in mind, for God is with you.”
But that same night God said to Nathan,
“Go and tell my servant David, ‘This is what the LORD has declared: You are not the one to build a house for me to live in.
I have never lived in a house, from the day I brought the Israelites out of Egypt until this very day. My home has always been a tent, moving from one place to another in a Tabernacle.
Yet no matter where I have gone with the Israelites, I have never once complained to Israel’s leaders, the shepherds of my people. I have never asked them, “Why haven’t you built me a beautiful cedar house?”’