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 traveled 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 raised by the queen in the palace, where he lived with the king's sons.
21 When the news reached Hadad in Egypt that David had died and that Joab the commander of the army was dead, Hadad said to the king, “Let me go back to my own country.”
22 “Why?” the king asked. “Have I failed to give you something? Is that why you want to go back home?”“Just let me go,” Hadad answered the king. And he went back to his country.As king of Edom, Hadad was an evil, bitter enemy of Israel.