2 Kings 12:2-12

2 Jehoash always did what was right in the LORD's eyes, because the priest Jehoiada was his teacher.
3 However, the shrines were not removed. People kept sacrificing and burning incense at them.
4 Jehoash said to the priests, "Collect all the currently available money relating to holy things that is brought to the temple—some is money people pay to redeem persons according to their assessed value. Collect all the money brought to the LORD's temple that people offer voluntarily.
5 The priests should take the money from their donors and use it to repair the temple wherever such a need for repair is discovered."
6 But by the twenty-third year of King Jehoash, the priests still hadn't repaired the temple.
7 So King Jehoash summoned Jehoiada the priest and the other priests together. "Why haven't you repaired the temple?" he asked them. "Stop taking money from your donors; instead, give it directly for temple repairs."
8 The priests agreed that they wouldn't take any more money from the people nor be responsible for temple repairs.
9 Then the priest Jehoiada took a box, made a hole in its lid, and placed it beside the altar, to the right as one enters the LORD's temple. The priests who stood watch at the door put all the money brought to the LORD's temple in the box.
10 As soon as they saw that a large amount of money was in the box, the royal scribe and the high priest would come, count the money that was in the temple, and put it in a bag.
11 They would then hand over the money that had been counted to those who supervised the work on the temple. These supervisors then paid money to those who worked on the LORD's temple: carpenters, builders,
12 masons, and stonecutters. The money was used to purchase wood and quarried stone to repair the LORD's temple and for every other cost involved in repairing it.