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.

Leviticus 18:18

18:18 You must not take a woman in marriage and then marry her sister as a rival wife while she is still alive, to have sexual intercourse with her.