Shalt thou build me an house, &c.— The interrogation here has the force of a negative. The meaning is, Thou shalt not build me, &c. See Psalms 132:3; Psalms 132:18.
Related Commentaries of 2 Samuel 7:5
2 Samuel 7:5
5 Go and tell my servanta David, Thus saith the LORD, Shalt thou build me an house for me to dwell in?