14The LORD raised up an adversary against Solomon: Hadad the Edomite, from the seed of the king who was in Edom.15It happened while David was with Edom, when Joab the commander of the army went up to bury the slain, that he struck down every male in Edom.16For Joab and all Israel stayed there six months until he had cut off every male in Edom.17Hadad fled—he and some Edomite men from among his father's servants with him—to go to Egypt; Hadad was then a young boy.18They set out from Midian, came to Paran, took men from Paran with them, and went to Egypt, to Pharaoh king of Egypt. He gave him a house, food, and land.19Hadad found great favor in Pharaoh's sight, and Pharaoh gave him as wife the sister of his wife, Tahpenes the queen.20The sister of Tahpenes bore him a son, Genubath, whom she weaned in Pharaoh's household; Genubath remained in Pharaoh's household among Pharaoh's sons.21When Hadad heard in Egypt that David had lain down with his fathers and that Joab the commander of the army had died, he said to Pharaoh, "Send me away so that I may go to my own land."22Pharaoh said to him, "What do you lack with me that you are seeking to go to your own land?" He said, "Nothing; only send me away."23God raised up an adversary against him: Rezon son of Eliada, who had fled from Hadadezer king of Zobah, his lord.24He gathered men around him and became leader of a raiding band while David was killing them; they went to Damascus, settled there, and reigned in Damascus.25Thus he was an adversary to Israel all the days of Solomon, along with the harm that Hadad did; he came to loathe Israel and reigned over Aram.