2 Samuel 8:16-18 NIV

16 Joab1 son of Zeruiah was over the army; Jehoshaphat2 son of Ahilud was recorder;3

References for 2 Samuel 8:16

17 Zadok4 son of Ahitub and Ahimelech son of Abiathar5 were priests; Seraiah was secretary;6
18 Benaiah7 son of Jehoiada was over the Kerethites8 and Pelethites; and David's sons were royal advisers.a

References for 2 Samuel 8:18