2 Samuel 8:14-18
English Standard Version
15So David reigned over all Israel. And David administered justice and equity to all his people.
16Joab the son of Zeruiah was over the army, and Jehoshaphat the son of Ahilud was recorder,
17and Zadok the son of Ahitub and Ahimelech the son of Abiathar were priests, and Seraiah was secretary,
18and Benaiah the son of Jehoiada was over the Cherethites and the Pelethites, and David 's sons were priests.