In response to David’s desire to build the Lord a house, while God prevented him from actually building that, he did give him a tremendous promise of a perpetual kingdom. David’s seed – which we know from the New Testament is Jesus Christ – would build a house and a kingdom which would stand forever, which was fulfilled in the establishment of the church in Jesus’ earthly ministry.