King James Version (KJV) Authorized Version 1611
Read Full Chapter (2 Samuel 7)

2 Samuel 7:6-7 KJV

"Whereas I have not dwelt in any house since the time that I brought up the children of Israel out of Egypt, even to this day, but have walked in a tent and in a tabernacle. In all the places wherein I have walked with all the children of Israel spake I a word with any of the tribes of Israel, whom I commanded to feed my people Israel, saying, Why build ye not me an house of cedar?"
2 Samuel Chapter 7, Verse 6-7

2 Samuel 7:6-7 in Context (Verses 3–10 KJV)

3
And Nathan said to the king, Go, do all that is in thine heart; for the LORD is with thee.
4
¶ And it came to pass that night, that the word of the LORD came unto Nathan, saying,
5
Go and tell my servant David, Thus saith the LORD, Shalt thou build me an house for me to dwell in?*
6
Whereas I have not dwelt in any house since the time that I brought up the children of Israel out of Egypt, even to this day, but have walked in a tent and in a tabernacle.
7
In all the places wherein I have walked with all the children of Israel spake I a word with any of the tribes of Israel, whom I commanded to feed my people Israel, saying, Why build ye not me an house of cedar?*
8
Now therefore so shalt thou say unto my servant David, Thus saith the LORD of hosts, I took thee from the sheepcote, from following the sheep, to be ruler over my people, over Israel:*
9
And I was with thee whithersoever thou wentest, and have cut off all thine enemies out of thy sight, and have made thee a great name, like unto the name of the great men that are in the earth.*
10
Moreover I will appoint a place for my people Israel, and will plant them, that they may dwell in a place of their own, and move no more; neither shall the children of wickedness afflict them any more, as beforetime,