1 Kings 11:15

15 When David had conquered Edom, Joab, the commander of the army, went to bury those killed in battle and killed every male in Edom.