https://www.btstories.com/achan/
Before conquering Jericho, Joshua had made it clear to the people, “Be careful! Don’t take anything that is set aside for the Lord, or you will be set aside for destruction.”
One of the soldiers that went into Jericho that day was a man named Achan. There he saw a bag of silver coins, a bar of gold, and a beautiful coat from Babylon. He took them and hid them inside his tent. This angered the Lord.