The record of Joash's reign follows a typical format:
It describes when he became king (2 Kings 11:21–12:3)
It tells about his royal activities (2 Kings 12:4–18)
It gives the closing notice of his reign (2 Kings 12:19–21).
The main focus is Joash’s efforts to repair the temple of the Lord (2 Kings 12:4–16). Later, when the army of Aram [the Arameans] invaded, Joash took treasures from the temple and gave them away to protect his city (2 Kings 12:17–18).