13 And I will not take the whole kingdom away from him; instead, I will leave him one tribe for the sake of my servant David and for the sake of Jerusalem, the city I have made my own.”
14 So the Lord caused Hadad, of the royal family of Edom, to turn against Solomon.
15-16 Long before this, when David had conquered Edom, Joab the commander of his army had gone there to bury the dead. He and his men remained in Edom six months, and during that time they killed every male in Edom
17 except Hadad and some of his father's Edomite servants, who escaped to Egypt. (At that time Hadad was just a child.)
18 They left Midian and went to Paran, where some other men joined them. Then they travelled to Egypt and went to the king, who gave Hadad some land and a house and provided him with food.
19 Hadad won the friendship of the king, and the king gave his sister-in-law, the sister of Queen Tahpenes, to Hadad in marriage.
20 She bore him a son, Genubath, who was brought up by the queen in the palace, where he lived with the king's sons.