And it came to pass in David being in Edom, in the going up of Joab the commander of the army to bury the slain, that he had struck down every male in Edom—