Not content with the palace David had built, Solomon spent thirteen years building something greater for himself and for his wife, although the text never really calls her Solomon’s wife. She was a political marriage:
1 Kings 7:8 Solomon’s living quarters surrounded a courtyard behind [the Hall of Justice], and they were constructed the same way. He also built similar living quarters for Pharaoh’s daughter, whom he had married.