For the connections between these two pericopes, see Victor Hurowitz, I Have Built You an Exalted House: Temple Building in the Bible in Light of Mesopotamian and Northwest Semitic Writings, JSOT Supplement Monograph Series 5 (Sheffield, UK: Sheffield Academic Press, 1992), pp. 235–242.