17 Jehoiada made a covenant between Yahweh and the king and the people, that they should be Yahweh’s people; between the king also and the people. 18 All the people of the land went to the house of Baal, and broke it down; his altars and his images broke they in pieces thoroughly, and killed Mattan the priest of Baal before the altars. The priest appointed officers over the house of Yahweh. 19 He took the captains over hundreds, and the Carites, and the guard, and all the people of the land; and they brought down the king from the house of Yahweh, and came by the way of the gate of the guard to the king’s house. He sat on the throne of the kings. 20 So all the people of the land rejoiced, and the city was quiet. Athaliah they had slain with the sword at the king’s house.
Matthew Henry's Commentary on 2 Kings 11:17-20
Commentary on 2 Kings 11:17-21
(Read 2 Kings 11:17-21)
King and people would cleave most firmly to each other, when both had joined themselves to the Lord. It is well with a people, when all the changes that pass over them help to revive, strengthen, and advance the interests of religion among them. Covenants are of use, both to remind us of, and bind us to, the duties already binding on us. They immediately abolished idolatry; and, pursuant to the covenant with one another, they expressed mutual readiness to help each other. The people rejoiced, and Jerusalem was quiet. The way for people to be joyful and at peace, is to engage fully in the service of God; for the voice of joy and thanksgiving is in the dwellings of the righteous, but there is no peace for the wicked.