Solomon ordered that a temple should be built where Yahweh would be worshiped and also that a palace should be built for himself.
Read & study T4T 2:1Now Solomon purposed to build a house for the name of Jehovah, and a house for his kingdom.
Read & study ASV 2:1