2 And they went throughout Judah and gathered the Levites from all the cities of Judah and even the heads of the fathers’ houses in Israel. Then they all came to Jerusalem.
3 So the whole assembly made a covenant with the king in the house of God, and Jehoiada said to them, “The king’s son will reign, as the Lord has said of the sons of David.
4 And this is the thing that you all will do: A third of you all from the priests and Levites who come on the Sabbath will be gatekeepers,
5 one-third will be at the palace of the king and another third at the Foundation Gate. And all the people will be in the courts of the house of the Lord.
6 And may no one enter the house of the Lord except the priests and those Levites who are serving. Those can enter because they are holy, but all the people will keep their assigned duty of the Lord.
7 Then the Levites will surround the king, each man with his weapon in his hand, and whoever enters the house will be put to death. They will be with the king when he enters and leaves.”
8 The Levites and all Judah did everything that Jehoiada the priest commanded. Each brought his men, who were to come on duty on the Sabbath, with those who were to go off duty on the Sabbath, because Jehoiada the priest did not dismiss the divisions.