15Earlier, when David was in Edom, Joab the commander of the army had gone to bury the dead and had struck down every male in Edom.
16Joab and all Israel had stayed there six months, until he had killed every male in Edom.
— 1 Kings 11:15-16