Yet he sent prophets among them to bring them back to the Lord; they testified against them, but they would not listen.
Then the spirit of God took possession of Zechariah son of the priest Jehoiada; he stood above the people and said to them, "Thus says God: Why do you transgress the commandments of the Lord, so that you cannot prosper? Because you have forsaken the Lord, he has also forsaken you."
References for 2 Chronicles 24:20
But they conspired against him, and by command of the king they stoned him to death in the court of the house of the Lord.
King Joash did not remember the kindness that Jehoiada, Zechariah's father, had shown him, but killed his son. As he was dying, he said, "May the Lord see and avenge!"
At the end of the year the army of Aram came up against Joash. They came to Judah and Jerusalem, and destroyed all the officials of the people from among them, and sent all the booty they took to the king of Damascus.
Although the army of Aram had come with few men, the Lord delivered into their hand a very great army, because they had abandoned the Lord, the God of their ancestors. Thus they executed judgment on Joash.
When they had withdrawn, leaving him severely wounded, his servants conspired against him because of the blood of the son of the priest Jehoiada, and they killed him on his bed. So he died; and they buried him in the city of David, but they did not bury him in the tombs of the kings.
References for 2 Chronicles 24:25