Deuteronomy 13:17cherem
"Nothing from that which is put under the ban shall cling to your hand, in order that the Lord may turn from His burning anger and show mercy to you, and have compassion on you and make you increase, just as He has sworn to your fathers,
Keeping nothing banned is linked to God turning from anger to mercy.
Joshua 7:1cherem
But the sons of Israel acted unfaithfully in regard to the things under the ban, for Achan, the son of Carmi, the son of Zabdi, the son of Zerah, from the tribe of Judah, took some of the things under the ban, therefore the anger of the Lord burned against the sons of Israel.
Achan takes banned things, and the Lord's anger burns against Israel.
Joshua 7:13cherem
"Rise up! Consecrate the people and say, 'Consecrate yourselves for tomorrow, for thus the Lord, the God of Israel, has said, "There are things under the ban in your midst, O Israel. You cannot stand before your enemies until you have removed the things under the ban from your midst."