1 Kings 11:16

And Joab remained in that place for six months, with all of Israel, until he had put to death every male in Idumea

Other versions

King James Version

(For six months did Joab remain there with all Israel, until he had cut off every male in Edom:)

English Standard Version

(for Joab and all Israel remained there six months, until he had cut off every male in Edom).

New International Version

Joab and all the Israelites stayed there for six months, until they had destroyed all the men in Edom.