2 Samuel 20:23

23 Joab commanded the whole army of Israel; Benaiah son of Jehoiada was over the Cherethites and Pelethites;

2 Samuel 20:23 Meaning and Commentary

2 Samuel 20:23

Now Joab [was] over all the host of Israel
Established in the post in which he formerly was; either having been never displaced, which though David thought to do, he was not able to effect it, because of his power and influence with the people; or if he had displaced him, which by some things in this chapter seemed to be the case, yet Amasa being dead, and the rebellion crushed by Joab, which still made him more haughty, and increased his popularity, David saw it most advisable to replace him; and because mention is made of him, as established in his office as general over the whole army, an account is given of the rest of David's officers; and the rather, as it was a sort of beginning his reign anew, after quelling the above rebellions:

and Benaiah the son of Jehoiada [was] over the Cherethites, and over
the Pelethites;
was continued in his post, see ( 2 Samuel 8:18 ) .

2 Samuel 20:23 In-Context

21 That is not [my] intention. There is a man named Sheba son of Bichri, from the hill country of Ephraim, who has rebelled against King David. Deliver this one man, and I will withdraw from the city." The woman replied to Joab, "All right. His head will be thrown over the wall to you."
22 The woman went to all the people with her wise counsel, and they cut off the head of Sheba son of Bichri and threw it to Joab. So he blew the ram's horn, and they dispersed from the city, each to his own tent. Joab returned to the king in Jerusalem.
23 Joab commanded the whole army of Israel; Benaiah son of Jehoiada was over the Cherethites and Pelethites;
24 Adoram was in charge of forced labor; Jehoshaphat son of Ahilud was court historian;
25 Sheva was court secretary; Zadok and Abiathar were priests;
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.