David’s Officials

23 Joab was over Israel’s entire army; Benaiah son of Jehoiada was over the Kerethites and Pelethites;

Read 2 Samuel 20:23 Using Other Translations

Now Joab was over all the host of Israel: and Benaiah the son of Jehoiada was over the Cherethites and over the Pelethites:
Now Joab was in command of all the army of Israel; and Benaiah the son of Jehoiada was in command of the Cherethites and the Pelethites;
Now Joab was the commander of the army of Israel. Benaiah son of Jehoiada was captain of the king’s bodyguard.