Achan answered Joshua, and said, “I have truly sinned against Yahweh, the God of Israel, and this is what I have done. 21 When I saw among the plunder a beautiful Babylonian robe, two hundred shekels of silver, and a wedge of gold weighing fifty shekels, then I coveted them and took them. Behold, they are hidden in the ground in the middle of my tent, with the silver under it.”
Joshua 7:20-21 (WEB)
This biblical example is referring to Israel's renowned victory over Jericho. Before the battle, Joshua commanded Israel to destroy all things in the land of Jericho. Only the gold, silver, brass and iron were to be kept and given to YHWH. Achan, therefore, stole from YHWH and caused Israel to lose their following battle against Ai, with the death of thirty-six men. Once his sin was revealed, Achan was stoned to death; and his children, livestock and belongings were also stoned and burned.