4 But that night the word of the LORD came to Nathan, saying:
5 “Go and tell my servant David, ‘This is what the LORD says: Are you the one to build me a house to dwell in?
6 I have not dwelt in a house from the day I brought the Israelites up out of Egypt to this day. I have been moving from place to place with a tent as my dwelling.

References for 2 Samuel 7:6

7 Wherever I have moved with all the Israelites, did I ever say to any of their rulers whom I commanded to shepherd my people Israel, “Why have you not built me a house of cedar?” ’

References for 2 Samuel 7:7