Earlier, when David had conquered Edom, Joab, the commander of the army, while going to bury the slain, killed every male in Edom.