2 Chronicles 24:17-23
English Standard Version
Chapter 24
17Now after the death of Jehoiada the princes of Judah came and paid homage to the king. Then the king listened to them. 18And they abandoned the house of the Lord, the God of their fathers, and served the Asherim and the idols. And wrath came upon Judah and Jerusalem for this guilt of theirs. 19Yet he sent prophets among them to bring them back to the Lord. These testified against them, but they would not pay attention.
20Then the Spirit of God clothed Zechariah the son of Jehoiada the priest, and he stood above the people, and said to them, "Thus says God, ‘Why do you break the commandments of the Lord, so that you cannot prosper? Because you have forsaken the Lord, he has forsaken you.’"
21But they conspired against him, and by command of the king they stoned him with stones in the court of the house of the Lord.
22Thus Joash the king did not remember the kindness that Jehoiada, Zechariah 's father, had shown him, but killed his son. And when he was dying, he said, "May the Lord see and avenge!"