No one is to enter the house of Yahweh except the priests and the Levites on duty — they may enter, for they are holy — while all the people keep the charge of Yahweh.
In context
4This is what you are to do. A third of you priests and Levites coming on duty on the Sabbath will be gatekeepers at the thresholds, 5a third at the king’s house, and a third at the Foundation Gate; and all the people will be in the courtyards of the house of Yahweh. 6No one is to enter the house of Yahweh except the priests and the Levites on duty — they may enter, for they are holy — while all the people keep the charge of Yahweh. 7The Levites are to encircle the king, each with his weapon in hand, and anyone who enters the house is to be put to death. Stay with the king wherever he goes.” 8The Levites and all Judah did everything Jehoiada the priest had commanded. Each of them took his men, those coming on duty on the Sabbath together with those going off duty, for Jehoiada the priest had not released the divisions.