2 Samuel 7:6-7

6I have not lived in a house asince the day I brought up the people of Israel from Egypt to this day, but I have been moving about bin a tent for my dwelling. 7In all places where cI have moved with all the people of Israel, did I speak a word with dany of the judges
Compare 1 Chronicles 17:6; Hebrew tribes
of Israel, whom I commanded fto shepherd my people Israel, saying, “Why have you not built me a house of cedar?”’

2 Chronicles 6:5-11

5Since the day that I brought my people out of the land of Egypt, I chose no city out of all the tribes of Israel in which to build a house, that my name might be there, and I chose no man as prince over my people Israel; 6 gbut I have chosen Jerusalem that my name may be there, hand I have chosen David to be over my people Israel.’ 7 iNow it was in the heart of David my father to build a house for the name of the Lord, the God of Israel. 8But the Lord said to David my father, ‘Whereas jit was in your heart to build a house for my name, you did well that it was in your heart. 9Nevertheless, it is not you who shall build the house, but your son who shall be born to you shall build the house for my name.’ 10Now the Lord has fulfilled his promise that he made. For I have risen in the place of David my father and sit on the throne of Israel, as the Lord promised, and I have built the house for the name of the Lord, the God of Israel. 11And there I have set the ark, kin which is the covenant of the Lord that he made with the people of Israel.”

Copyright information for ESV