15 and it cometh to pass, in David's being with Edom, in the going up of Joab head of the host to bury the slain, that he smiteth every male in Edom --
15
Earlier when David was fighting with Edom, Joab the commander of the army, who had gone up to bury the dead, had struck down all the men in Edom.
Young's Literal Translation is in the public domain.