It shall be, that he who is taken with the devoted thing shall be burnt with fire, he and all that he has; because he has transgressed the covenant of Yahweh, and because he has done folly in Israel.
They have transgressed God's covenant for they have taken unto themselves of the treasure from Jericho ( Joshua 7:11 ).