17 Now after the death of Jehoiada the leaders of Judah came and bowed down to the king. And the king listened to them. 18 Therefore they left the house of the Lord God of their fathers, and served wooden images and idols; and wrath came upon Judah and Jerusalem because of their trespass. 19 Yet He sent prophets to them, to bring them back to the Lord; and they testified against them, but they would not listen. 20 Then the Spirit of God came upon Zechariah the son of Jehoiada the priest, who 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 also has forsaken you.' " 21 So they conspired against him, and at the command of the king they stoned him with stones in the court of the house of the Lord. 22 Thus Joash the king did not remember the kindness which Jehoiada his father had done to him, but killed his son; and as he died, he said, "The Lord look on it, and repay!"
Matthew Henry's Commentary on 2 Chronicles 24:17-22
Commentary on 2 Chronicles 24:15-27
(Read 2 Chronicles 24:15-27)
See what a great judgment on any prince or people, the death of godly, zealous, useful men is. See how necessary it is that we act in religion from inward principle. Then the loss of a parent, a minister, or a friend, will not be losing our religion. Often both princes and inferior people have been flattered to their ruin. True grace alone will enable a man to bring forth fruit unto the end. Zechariah, the son of Jehoiada, being filled with the Spirit of prophecy, stood up, and told the people of their sin. This is the work of ministers, by the word of God, as a lamp and a light, to discover the sin of men, and expound the providences of God. They stoned Zechariah to death in the court of the house of the Lord. Observe the dying martyr's words: The Lord look upon it, and require it! This came not from a spirit of revenge, but a spirit of prophecy. God smote Joash with great diseases, of body, or mind, or both, before the Syrians departed from him. If vengeance pursue men, the end of one trouble will be but the beginning of another. His own servants slew him. These judgments are called the burdens laid upon him, for the wrath of God is a heavy burden, too heavy for any man to bear. May God help us to take warning, to be upright in heart, and to persevere in his ways to the end.