Joash of Judah (2 Kings 11-12; 2 Chronicles 23-24) was one of Judah's better kings. Amidst the strings of evil and idolatrous kings of Israel and Judah, every so often a good one pops up (though only in Judah, never in the northern kingdom, and never completely good). The good kings get our hopes up, and then dash them to pieces as they fail and die and their good accomplishments are undone by evil successors. The good kings remind us that they're not good enough. They remind us that there is a much better King, the truly good King, whom God has promised and whose reign will no no end.
Joash had a rather eventful start to life. As a baby he was caught up in a coup and only just saved from being killed by his grandmother, the ruthless dictator. His brothers were killed in an attempt to kill any claimants to the throne, yet God used his people to save Joash.
Israel's true great King would also be saved as a baby from the slaughter of an insecure ruler. Herod had all the baby boys in Bethlehem put to death to avoid any threat to his throne. But God preserved His Newborn King.
After being saved from slaughter, Joash was hidden, living in God's house until the time came for Him to be anointed as King. And what a coronation! As the anointed one took his throne, there was rejoicing among God's people at the new freedom they had under their new king - they old, evil ruler had been overthrown, the bondage of that evil reign was no more (2 Kings 11:20). And not only that, but even idols were torn down at the beginning of this reign of the Lord's anointed (2 Kings 11:18).
And what was the great accomplishment of Joash's reign? The restoration of the house of The Lord! Here was God's anointed king who did what was right in God's eyes (2 Kings 12:2) and restored God's house.
But this glorious reign didn't last forever. In fact, Joash's reign was cut short as he was put to death by his own people (2 Kings 12:20-21).