1Kgs 3:1-2

3 Solomon made a marriage alliance with Pharaoh king of Egypt; he took Pharaoh’s daughter and brought her into the city of David, until he had finished building his own house and the house of the Lord and the wall around Jerusalem. 2 The people were sacrificing at the high places, however, because no house had yet been built for the name of the Lord.