Joshua 7
The Israelites were defeated by an army from Ai because they had violated some instructions from the Lord to keep some holy items set apart for the Lord (robes,silver coins, gold bars, etc). A man named Achan admitted his sin against the Lord, so Joshua sent some men to find the items and bring them before the Lord. The Lord told Joshua that the man who was guilty of this sin would have to be destroyed along with his entire household. So, Joshua and the Israelites took Achan, the silver, robes, bars of gold, his sons, daughters, cattle, donkeys, and everything he owned and brought them to the valley of Achor. Joshua said to Achan, “Why have you brought trouble on us? The Lord will now bring trouble on you.” Then they were all stoned and burned. Then the Lord was no longer angry with the Israelites.