Joshua said, Why have you troubled us? Yahweh shall trouble you this day. All Israel stoned him with stones; and they burned them with fire, and stoned them with stones.
They have transgressed God's covenant for they have taken unto themselves of the treasure from Jericho ( Joshua 7:11 ).