Joshua 7:12

7:12 The Israelites are unable to stand before their enemies; they retreat because they have become subject to annihilation. I will no longer be with you, unless you destroy what has contaminated you.

Joshua 7:22-25

7:22 Joshua sent messengers who ran to the tent. The things were hidden right in his tent, with the silver underneath. 7:23 They took it all from the middle of the tent, brought it to Joshua and all the Israelites, and placed it before the Lord. 7:24 Then Joshua and all Israel took Achan, son of Zerah, along with the silver, the robe, the bar of gold, his sons, daughters, ox, donkey, sheep, tent, and all that belonged to him and brought them up to the Valley of Disaster. 7:25 Joshua said, “Why have you brought disaster on us? The Lord will bring disaster on you today!” All Israel stoned him to death. (They also stoned and burned the others.)