He was buried with the kings in the City of David, because of the good he had done in Israel for God and his temple.
After the death of Jehoiada, the officials of Judah came and paid homage to the king, and he listened to them.
References for 2 Chronicles 24:17
They abandoned the temple of the LORD, the God of their ancestors, and worshiped Asherah poles and idols. Because of their guilt, God’s anger came on Judah and Jerusalem.
References for 2 Chronicles 24:18
Although the LORD sent prophets to the people to bring them back to him, and though they testified against them, they would not listen.
References for 2 Chronicles 24:19
Then the Spirit of God came on Zechariah son of Jehoiada the priest. He stood before the people and said, “This is what God says: ‘Why do you disobey the LORD’s commands? You will not prosper. Because you have forsaken the LORD, he has forsaken you.’ ”
References for 2 Chronicles 24:20
But they plotted against him, and by order of the king they stoned him to death in the courtyard of the LORD’s temple.
References for 2 Chronicles 24:21
King Joash did not remember the kindness Zechariah’s father Jehoiada had shown him but killed his son, who said as he lay dying, “May the LORD see this and call you to account.”
References for 2 Chronicles 24:22
At the turn of the year, the army of Aram marched against Joash; it invaded Judah and Jerusalem and killed all the leaders of the people. They sent all the plunder to their king in Damascus.
References for 2 Chronicles 24:23
Although the Aramean army had come with only a few men, the LORD delivered into their hands a much larger army. Because Judah had forsaken the LORD, the God of their ancestors, judgment was executed on Joash.
References for 2 Chronicles 24:24
When the Arameans withdrew, they left Joash severely wounded. His officials conspired against him for murdering the son of Jehoiada the priest, and they killed him in his bed. So he died and was buried in the City of David, but not in the tombs of the kings.
References for 2 Chronicles 24:25
Those who conspired against him were Zabad, son of Shimeath an Ammonite woman, and Jehozabad, son of Shimrith a Moabite woman.
References for 2 Chronicles 24:26