וַיִּמְצָא֙ הֲדַ֥ד חֵ֛ן בְּעֵינֵ֥י פַרְעֹ֖ה מְאֹ֑ד וַיִּתֶּן־ל֤וֹ אִשָּׁה֙ אֶת־אֲח֣וֹת אִשְׁתּ֔וֹ אֲח֖וֹת תַּחְפְּנֵ֥יס הַגְּבִירָֽה׃
E Hadad trovò grandissima grazia agli occhi del Faraone, che gli diede in moglie la sorella della propria moglie, la sorella di Tachpenes la regina.
Rashi
Egypt etc. and Edom—He juxtaposed them as regards their retribution. You find that, were it not for Egypt, Edom would not exist, as it is stated: (I Kings 11:16 21) “For Joab and all Israel remained [stationed] there for six months etc. every male in Edom.” And it is stated there: (verse 17) “Adad fled, he and some Edomite men etc. And Hadad pleased Pharaoh very much etc. And Hadad etc. that David slept with his fathers etc.” And, at the end, (verse 25) “And he was an adversary to Solomon (sic).” Said the Holy One, blessed be He: I will destroy both of them.