At the instigation of Jehoiada, King Joash undertook the restoration of the Temple. The work was completed so expeditiously that one living at the time the Temple was erected by Solomon was permitted to see the new structure shortly before his death. This good fortune befell Jehoiada himself, the son of Benaiah, commander-in-chief of the army under Solomon. So long as Joash continued under the tutelage of Jehoiada, he was a pious king.
When Jehoiada departed this life, the courtiers came to Joash and flattered him: "If thou wert not a god, thou hadst not been able to abide for six years in the Holy of Holies, a spot which even the high priest is permitted to enter but once a year." The king lent ear to their blandishments, and permitted the people to pay him Divine homage. But when the folly of the king went to the extreme of prompting him to set up an idol in the Temple, Zechariah, the son of Jehoiada, placed himself at the entrance, and barring the way said: "Thou shalt not do it so long as I live."
High priest, prophet, and judge though Zechariah was, and son-in-law of Joash to boot, the king still did not shrink from having him killed for his presumptuous words, not was he deterred by the fact that it happened on a Day of Atonement which fell on the Sabbath. The innocent blood crimsoning the hall of the priests did not remain unavenged. For two hundred and fifty-two years it did not leave off seething and pulsating, until, finally, Nebuzaradan, captain of Nebuchadnezzar's guard, ordered a great carnage among the Judeans, to avenge the death of Zechariah.