The silver, and gold, and vessels of brass and iron... into the treasury of the Lord. — See Numbers 31:22-23; Numbers 31:54, where something similar was done with the spoil of the Midianites.
Related Commentaries of Joshua 6:19
Joshua 6:19
19 But all the silver, and gold, and vessels of brass and iron, are consecratedf unto the LORD: they shall come into the treasury of the LORD.