2 Chronicles 24:14-22

ISV(i) 14 When they had completed the work, they brought what was left of the money to the king and to Jehoiada, and it was used to cast utensils for the LORD’s Temple that were to be utilized for daily service and for burnt offerings, for incense vessels, and for both gold and silver vessels. Burnt offerings were offered on a regular basis in the LORD’s Temple throughout Jehoiada’s lifetime.
15 Joash Apostasizes and Kills Jehoiada’s SonEventually, Jehoiada grew old and died at the age of 130 years, after having lived a full life. 16 He was buried in the City of David among the graves of the kings, because he had accomplished many good things in Israel on behalf of God and his Temple. 17 But after Jehoiada had died, officials from Judah came, bowed down to the king, and the king listened to what they had to say. 18 They abandoned the LORD’s Temple and the God of their fathers, and they served Asherim and idols. As a result this guilt of theirs resulted in wrath coming upon Judah and Jerusalem. 19 Nevertheless, God sent prophets among them to bring them back to the LORD.
20 Then Jehoiada the priest’s son Zechariah was clothed by the Spirit of God, and he stood above the people and told them, “This is what God has to say: ‘Why are you breaking the LORD’s commandments. You’ll never be successful! Because you have abandoned the LORD, he has abandoned you.’”
21 But the people conspired against him, and at the direct orders of the king they stoned him to death in the courtyard of the LORD’s Temple. 22 This is how King Joash failed to remember the kindness that Zechariah’s father Jehoiada had shown him: he killed his son. As he lay dying, Zechariah cried out, “May the LORD watch this and avenge.”