In fact, Joab and all of the men of Israel stayed there for six months. During that time they destroyed all of the men in Edom.