14 The Lord then raised up an adversary against Solomon: Hadad the Edomite, who was of the royal line in Edom.
15 Earlier, when David had conquered Edom, Joab, the commander of the army, while going to bury the slain, killed every male in Edom.
16 Joab and all Israel remained there six months until they had killed off every male in Edom.
17 But Hadad, with some Edomite servants of his father, fled toward Egypt. Hadad was then a young boy.
18 They left Midian and came to Paran; they gathered men from Paran and came to Egypt, to Pharaoh, king of Egypt; he gave Hadad a house, appointed him rations, and assigned him land.
19 Hadad won great favor with Pharaoh, so that he gave him in marriage his sister-in-law, the sister of Queen Tahpenes, his own wife.
20 Tahpenes’ sister bore Hadad a son, Genubath. Tahpenes weaned him in Pharaoh’s palace. And Genubath lived in Pharaoh’s house, with Pharaoh’s own sons.