5 one will guard the palace, and the other will guard Foundation Gate. The rest of you will stand guard in the temple courtyards.
6 Only the priests and Levites who are on duty will be able to enter the temple, because they will be the only ones who have gone through the ceremony to make themselves clean and acceptable. The others must stay outside in the courtyards, just as the Lord has commanded.
7 You Levites must protect King Joash. Don't let him out of your sight! And keep your swords ready to kill anyone who comes into the temple.
8 The Levites and the people of Judah followed Jehoiada's orders. The guards going off duty were not allowed to go home, and so each commander had all his guards available—those going off duty as well as those coming on duty.
9 Jehoiada went into the temple and brought out the swords and shields that had belonged to King David, and he gave them to the commanders.
10 They gave the weapons to the guards, and Jehoiada then made sure that the guards took their positions around the temple and the altar to protect the king on every side.
11 Jehoiada and his sons brought Joash outside, where they placed the crown on his head and gave him a copy of the instructions for ruling the nation. Olive oil was poured on his head to show that he was now king, and the crowd cheered and shouted, “Long live the king!”