Joab and all Israel remained there six months until every male in Edom was cut off.
And it happened when David was in Edom, and Joab the commander of the army had gone up to bury the ones who died, after he had stricken every male in Edom;
And Hadad fled, he and certain Edomites of his father’s servants with him, to go into Egypt; and Hadad was a little child.
And they warred against Midian, as Jehovah had commanded Moses, and killed every male.