Jehoiada cut a covenant between himself, all the people and the king, that they would be a people belonging to Yahweh.
In context
14Jehoiada the priest brought out the commanders of hundreds, the officers of the army, and told them, “Take her out between the ranks, and whoever follows her is to die by the sword.” For the priest had said, “Do not put her to death in the house of Yahweh.” 15So they laid hands on her, and when she reached the entrance of the Horse Gate at the king’s house, they killed her there. 16Jehoiada cut a covenant between himself, all the people and the king, that they would be a people belonging to Yahweh. 17Then all the people went to the house of Baal and pulled it down; they smashed its altars and its images, and they killed Mattan the priest of Baal in front of the altars. 18Jehoiada placed the oversight of the house of Yahweh in the hands of the Levitical priests, whom David had assigned to the house of Yahweh, to offer up the burnt offerings of Yahweh as written in the law of Moses, with rejoicing and with song, as David had arranged it.