For when David was in Edom, and Joab the commander of the army had gone to bury the slain, he had killed every male in Edom