The prophet Nathan, responding to David’s proposal to build God a “house,” declared that God would instead build David a “house.”
In a sense then God is affirming davids request by setting the stage to build the temple God wnts (a human not a building) tgrough David