So we find that David wanted to build a “house” for the Lord. In this case “house” means a house of worship – made of solid materials and luxurious – suited to bring Glory to God. However, the Lord, through Nathan says to David, “So you, whom I plucked from behind the sheep, want to give me a house? I will give you a house.” In the second use, “house” means dynasty.
That is, folks, a pun. Some call puns the “lowest form of humor.” So the Almighty stoops to puns to communicate! I wonder if he laughs at his own jokes. When you stop reading the bible as if it is to be read by a newscaster you will find that there are many bits of humor like this – OT scholars call this “word play.”
So David wanted to make a name for himself by building a house for God. God had a better idea, David’s name would endure with glory, because it is attached to the one king who can fulfill the eternal promise of this text – I think you know who we mean.
2 Samuel 7:16
And your house and your kingdom shall be made sure forever before me. Your throne shall be established forever.
And behold, you will conceive in your womb and bear a son, and you shall call his name Jesus.  He will be great and will be called the Son of the Most High. And the Lord God will give to him the throne of his father David,  and he will reign over the house of Jacob forever, and of his kingdom there will be no end.