1 Kings 3:1
The Lord Gives Solomon Wisdom
3:1 Solomon made an alliance by marriage with Pharaoh, king of Egypt; he married Pharaoh’s daughter. He brought her to the City of David until he could finish building his residence and the temple of the Lord and the wall around Jerusalem.
1 Kings 8:16
8:16 He told David,
‘Since the day I brought my people Israel out of Egypt, I have not chosen a city from all the tribes of Israel to build a temple in which to live.
But I have chosen David to lead my people Israel.’