Whenever the chest was brought in by the Levites to the king's officials and they saw that there was a large amount of money, the royal secretary and the officer of the chief priest would come and empty the chest and carry it back to its place. They did this regularly and collected a great amount of money.
The king and Jehoiada gave it to the men who carried out the work required for the temple of the LORD. They hired1 masons and carpenters to restore the LORD's temple, and also workers in iron and bronze to repair the temple.
References for 2 Chronicles 24:12
The men in charge of the work were diligent, and the repairs progressed under them. They rebuilt the temple of God according to its original design and reinforced it.
When they had finished, they brought the rest of the money to the king and Jehoiada, and with it were made articles for the LORD's temple: articles for the service and for the burnt offerings, and also dishes and other objects of gold and silver. As long as Jehoiada lived, burnt offerings were presented continually in the temple of the LORD.