1 Kings 3:1-3 English Standard Version (ESV)
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.
3 Solomon loved the Lord, walking in the statutes of David his father, only he sacrificed and made offerings at the high places.