15 When David had conquered Edom, Joab, the commander of the army, went to bury those killed in battle and killed every male in Edom.
16 (Joab and all Israel stayed there six months until they had destroyed every male in Edom.)
17 Hadad was a young boy at the time. He and some of his father’s Edomite servants fled to Egypt.
18 They left Midian and went to Paran. Taking some men from Paran with them, they went to Pharaoh (the king of Egypt). Pharaoh gave Hadad a home, a food allowance, and land.
19 Pharaoh approved of Hadad. So he gave Hadad his sister-in-law, the sister of Queen Tahpenes, to be Hadad’s wife.
20 Tahpenes’ sister had a son ⌊named⌋ Genubath. Tahpenes presented the boy to Pharaoh in the palace, and Genubath lived in the palace among Pharaoh’s children.
21 When Hadad heard in Egypt that David had lain down in death with his ancestors and that Joab, the commander of the army, had died, he said to Pharaoh, “Let me go to my own country.”