Joshua 6:17-19
6:17 The city and all that is in it must be set apart for the Lord, except for Rahab the prostitute and all who are with her in her house, because she hid the spies we sent.
6:18 But be careful when you are setting apart the riches for the Lord. If you take any of it, you will make the Israelite camp subject to annihilation and cause a disaster.
6:19 All the silver and gold, as well as bronze and iron items, belong to the Lord. They must go into the Lord’s treasury.”