The names of all the Israelites were listed in their family histories. Those family histories were put in the book, The History of the Kings of Israel. The people of Judah were made prisoners and forced to go to Babylon. They were taken there because they were not faithful to God.
These are the people from the tribe of Benjamin who lived in Jerusalem: Sallu was Meshullam's son. Meshullam was Hodaviah's son. Hodaviah was Hassenuah's son.
Ibneiah was Jeroham's son. Elah was Uzzi's son. Uzzi was Micri's son. And Meshullam was Shephatiah's son. Shephatiah was Reuel's son. Reuel was Ibnijah's son.
Azariah. Azariah was Hilkiah's son. Hilkiah was Meshullam's son. Meshullam was Zadok's son. Zadok was Meraioth's son. Meraioth was Ahitub's son. Ahitub was the important official responsible for God's Temple.
Also there was Jeroham's son, Adaiah. Jeroham was Pashhur's son. Pashhur was Malkijah's son. And there was Adiel's son, Maasai. Adiel was Jahzerah's son. Jahzerah was Meshullam's son. Meshullam was Meshillemith's son. Meshillemith was Immer's son.
These are the people from the tribe of Levi who lived in Jerusalem: Hasshub's son, Shemaiah. Hasshub was Azrikam's son. Azrikam was Hashabiah's son. Hashabiah was a descendant of Merari.
Obadiah was Shemaiah's son. Shemaiah was Galal's son. Galal was Jeduthun's son. Berekiah was Asa's son. Asa was Elkanah's son. Berekiah lived in the small towns near the people of Netophah.
Shallum was Kore's son. Kore was Ebiasaph's son. Ebiasaph was Korah's son. Shallum and his brothers were gatekeepers. They were from the family of Korah. They had the job of guarding the gates to the Holy Tent. They did this just as their ancestors had done before them. Their ancestors had the job of guarding the entrance to the Holy Tent.
In all there were 212 men who were chosen to guard the gates of the Holy Tent. Their names were written in their family histories in their small towns. David and Samuel the seer chose these men because they could be trusted.
The gatekeepers' relatives who lived in the small towns had to come and help them at certain times. They came and helped the gatekeepers for seven days each time.
There were four gatekeepers who were the leaders of all the gatekeepers. They were Levites. They had the job of caring for the rooms and treasures in God's Temple.
Some of the gatekeepers had the job of caring for the dishes used in the Temple services. They counted them when they were brought in. They also counted these dishes when they were taken out.
There was a Levite named Mattithiah who had the job of baking the bread used for the offerings. Mattithiah was Shallum's oldest son. Shallum was from the Korah family.
The Levites who were singers and leaders of their families stayed in the rooms at the Temple. They did not have to do other work because they were responsible for the work in the Temple day and night.