“devoting them to destruction.” That is, totally destroying them.
[For more on things “devoted” to Yahweh and devoted to destruction, see commentary on Josh. 6:17.]
“to destroy.” In the Hebrew text, “destroy” is a noun, more like “became a destroyer” of one another.