1 Kings 11:15 in the King James Version
For it came to pass, when David was in Edom, and Joab the captain of the host was gone up to bury the slain, after he had smitten every male in Edom;
Context
14 The LORD raised up an adversary to Solomon: Hadad the Edomite. He was one of the king’s offspring in Edom.
15 For when David was in Edom, and Joab the captain of the army had gone up to bury the slain, and had struck every male in Edom
16 (for Joab and all Israel remained there six months, until he had cut off every male in Edom),