#Why did Yahweh's anger burn against the people of Israel?

Yahweh's anger burned against the people of Israel because Achan took some things for himself that were dedicated to destruction. [7:1]

Where did Achan tell Joshua that he had hidden the things he had taken?

Achan told Joshua that he had hidden the things he had taken in the ground in the middle of his tent. {7:21]