2 Samuel 8:15-18 New King James Version (NKJV)

15. So David reigned over all Israel; and David administered judgment and justice to all his people.

16. Joab the son of Zeruiah was over the army; Jehoshaphat the son of Ahilud was recorder;

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

18. Benaiah the son of Jehoiada was over both the Cherethites and the Pelethites; and David’s sons were chief ministers.

2 Samuel 8