II Samuel 8:17 Midrash

וְצָד֧וֹק בֶּן־אֲחִיט֛וּב וַאֲחִימֶ֥לֶךְ בֶּן־אֶבְיָתָ֖ר כֹּהֲנִ֑ים וּשְׂרָיָ֖ה סוֹפֵֽר׃

and Zadok the son of Ahitub, and Ahimelech the son of Abiathar, were priests; and Seraiah was scribe;

Read midrashic interpretation of II Samuel 8:17: and classical rabbinic exegesis.