The guards of the temple gates
This is a list of the groups of men who guarded the temple gates:
From the descendants of Korah, there was Meshelemiah, the son of Kore, who was one of the sons of Asaph.
The oldest son of Meshelemiah was Zechariah. His other sons were Jediael, Zebadiah, Jathniel, Elam, Jehohanan, and Eliehoenai.
Another guard was Obed-Edom.
His oldest son was Shemaiah. His other sons were Jehozabad, Joah, Sacar, Nethanel, Ammiel, Issachar, and Peullethai. It was because God had blessed him that he had many sons.
Obed-Edom's son Shemaiah also had sons. They were leaders in their father's family because they were capable of doing many things well. The sons of Shemaiah were Othni, Rephael, Obed, and Elzabad. Shemaiah's relatives Elihu and Semakiah were also capable men.
All of those descendants of Obed-Edom and their sons and relatives were capable people and strong workers. Altogether there were 62 of them.
Another guard was Meshelemiah. He and his sons and relatives were also capable people. There were 18 of them altogether.
10 Another guard was Hosah's son Shimri, a descendant of Merari. Hosah appointed Shimri to be the leader, even though he was not Hosah's oldest son. 11 Hosah's other sons were Hilkiah, Tabaliah, and Zechariah. Altogether there were 13 sons and relatives of Hosah.
12 Those men were leaders of the groups of men who guarded the gates of the temple. They worked at the temple like their relatives did. 13 By casting lots, the leader of each family chose one gate for their group to guard. All of them, including young men and old men (OR, including leaders of large families and small families), cast lots.
14 Shelemiah's group was selected to guard the East Gate.
The group of Shelemiah's son Zechariah, who was a wise counselor, was selected to guard the North Gate.
15 Then Obed-Edom's group was selected to guard the South Gate, and his sons were selected to guard the entrances to the temple storerooms.
16 Then Shuppim's group and Hosah's group were selected to guard the West Gate and the Shalleketh Gate on the upper road to the temple.
The work for the guards was divided evenly. 17 Each day there were six descendants of Levi who guarded the East Gate, four who guarded the North Gate, four who guarded the South Gate, and two at a time who guarded the entrances to the storerooms. 18 At the West gate there were two men who guarded the courtyard and four who guarded the road outside the courtyard.
19 Those were the groups of men who were descendants of Korah and Merari who guarded the gates of the temple.
Other work at the temple
20 Other descendants of Levi were in charge of the chests that contained the money that was dedicated to Yahweh, money that the people brought to the temple.
21  One of those men was Ladan, a descendant of Gershon. He was the ancestor of several family groups. Jehiel was the leader of one of those family groups. 22 Others who had that work were Zetham and his younger brother Joel, who were the sons of Jehiel.
23 Others who did that work were descendants of Amram, Izhar, Hebron and Uzziel.
24  From the descendants of Amram, Shubael, a descendant of Moses's son Gershom, was the leader who was in charge of the money chests. 25  Others who did that work were the descendants of Gershom's younger brother Eliezer. Those men were Eliezer's son Rehabiah, Rehabiah's son Jeshaiah, Jeshaiah's son Joram, Joram's son Zicri, and Zicri's son Shelomith. 26 Shelomith and his relatives were in charge of all the valuable things that had been dedicated to Yahweh by King David, by the leaders of the family groups, by the army commanders of 1,000 soldiers and commanders of 100 soldiers, and by other army commanders. 27 Some of the things that those army officers had taken from Israel's enemies in battles they dedicated for the repair of the temple of Yahweh. 28 And Shelomith and his relatives were also in charge of everything that had been dedicated to Yahweh by the prophet Samuel, by King Saul, and by David's two army commanders Ner and Joab.
29 From the descendants of Izhar, Kenaniah and his sons were given work outside the temple area. They were officials and judges in various places in Israel.
30 From the descendants of Hebron, Hashabiah and his relatives were responsible for the work done for Yahweh and for the king in all the area west of the Jordan river. There were 1,700 of them who were able to do their work well. 31 It was written in the records of the descendants of Hebron that Jeriah was their leader. When David had been ruling for almost forty years, they searched in those records, and they found names of capable men descended from Hebron who were at Jazer city in the Gilead region. 32 Jeriah had 2,700 relatives who were able to do their work well, and who were leaders of their families. King David put them in charge of governing the tribes of Reuben, Gad, and the eastern half of the tribe of Manasseh, to be sure that all the people did what God and the king told them to do.