2 Samuel 8:16-18

16 aJoab the son of Zeruiah was over the army, and bJehoshaphat the son of Ahilud was recorder, 17and cZadok the son of Ahitub and Ahimelech the son of Abiathar were priests, and dSeraiah was secretary, 18and eBenaiah the son of Jehoiada was over
Compare 20:23, 1 Chronicles 18:17, Syriac, Targum, Vulgate; Hebrew lacks  was over
the gCherethites and the Pelethites, and David’s sons were priests.

1 Chronicles 18:15-17

15And hJoab the son of Zeruiah was over the army; and Jehoshaphat the son of Ahilud was recorder; 16 iand Zadok the son of Ahitub and jAhimelech the son of Abiathar were priests; and kShavsha was secretary; 17and Benaiah the son of Jehoiada was over the Cherethites and the Pelethites; and David’s sons were the lchief officials in the service of the king.

Copyright information for ESV