2 Chronicles 24:17–22

17Now after the death of Jehoiada, the princes of Judah came, and bowed down to the king. Then the king listened to them.
18They abandoned the house of Yahweh, the God of their fathers, and served the Asherah poles and the idols, so wrath came on Judah and Jerusalem for this their guiltiness.
19Yet he sent prophets to them, to bring them again to Yahweh, and they testified against them; but they would not listen.
20The Spirit of God came on Zechariah the son of Jehoiada the priest; and he stood above the people, and said to them, “Thus says God, ‘Why do you disobey Yahweh’s commandments, so that you can’t prosper? Because you have forsaken Yahweh, he has also forsaken you.’”
21They conspired against him, and stoned him with stones at the commandment of the king in the court of Yahweh’s house.
22Thus Joash the king didn’t remember the kindness which Jehoiada his father had done to him, but killed his son. When he died, he said, “May Yahweh look at it, and repay it.”