According to tropology, this seems to me the sense: Idumaea is called 'earthly' and 'fleshly', which rises up against the spirit so that we do not do the things that are of the spirit, and hastens to draw to itself the soul placed in the middle, and wishes to repay vengeance on the sons of Judah, to whom it had formerly been subject, and remembers the old pain, that it was not in its own power, and therefore seeks vengeance on those who, withdrawing from the flesh, followed the spirit; therefore this Lord, being the avenger of the sons of Judah, stretches out his hand over Idumaea and takes aw...ay from it man and beast — whatever it seems to have either of reason or of simple faith — so as to reduce it to solitude, and of 'Theman', which means 'failing', and 'Dedan', which itself signifies 'kinship', he slew all with the sword which he placed in the hand of his people Israel, so that Edom may be overthrown, and feel the anger and fury of the Lord, and understand that his vengeance has served to this end: that it should serve the house of Judah. This is what the Apostle too argues about, writing: Jacob I loved, but Esau I hated; and he loves Jacob because he supplants and overcomes what is fleshly and earthly, and deserves to receive its blessings; for first we live according to the flesh and afterwards according to the spirit. First the vices, then the virtues by which the vices are undermined, because the heart of man is set on malice from boyhood, and mature age condemns the errors of youth; hence David too: The offenses, he says, of my youth and my ignorances do not remember. And yet it must be known that Jacob receives the first blessing, Esau the second, and at the last it is said of him: You shall be the servant of your brother, so that, after the flesh has been made subject to the spirit and joined to it, it may cease to be flesh, and Idumaea may pass over into Judea.
Source: Commentary on Ezekiel