Meraioth was the father of Amariah. Amariah was the father of Ahitub.
The family line of Kohath included his son Amminadab. Korah was Amminadab’s son. Assir was Korah’s son.
Uzzi was the father of Zerahiah. Zerahiah was the father of Meraioth.
Ahitub was the father of Zadok. Zadok was the father of Ahimaaz.
There was also Seraiah. He was the son of Hilkiah. Hilkiah was the son of Meshullam. Meshullam was the son of Zadok. Zadok was the son of Meraioth. Meraioth was the son of Ahitub. Ahitub was the official in charge of God’s house.
But the family line of Korah didn’t die out completely.