When Joash was seven years old, Jehoiada showed how strong he was. He made a covenant with the commanders of companies of 100 men. The commanders were Azariah son of Jeroham, Ishmael son of Jehohanan, Azariah son of Obed, Maaseiah son of Adaiah, and Elishaphat son of Zicri.
They went all through Judah. They gathered together the Levites and the leaders of Israelite families from all of the towns. They came to Jerusalem.
The whole community made a covenant with the new king at God's temple. Jehoiada said to them, "Ahaziah's son will rule over Judah. That's what the LORD promised concerning the family line of David.
Here's what I want you to do. A third of you priests and Levites who are going on duty on the Sabbath day must guard the doors
A third of you must guard the royal palace. And a third of you must guard the Foundation Gate. All of the other men must guard the courtyards of the LORD's temple.
"Don't let anyone enter the temple except the priests and Levites who are on duty. They can enter because they are set apart to the Lord. But all of the other men must guard the places where the LORD has sent them.