15 For when David was in Edom, and Joab the commander of the army had gone to bury the slain, he had killed every male in Edom
16 (for six months Joab stayed there with his men until he had killed every male in Edom).
17 But Hadad fled to Egypt, he and some Edomites who served his father, Hadad still being a small child.
18 They set out from Midian and went to Paran, and they gathered men from Paran and then arrived in Egypt and presented him before Pharaoh king of Egypt, who gave him a house and provisions and land.
19 Pharaoh had great affection for Hadad, so much so that he gave him his sister-in-law, the sister of Tahpenes the queen, as a wife.
20 Tahpenes’ sister gave birth to his son, Genubath, whom Tahpenes weaned in Pharaoh’s house. Genubath lived in Pharaoh’s house among the sons of Pharaoh.
21 When Hadad heard in Egypt that David slept with his fathers and that Joab, the commander of the army, was dead, he said to Pharaoh, “Allow me to depart and go to my own country.”