Joab commanded the whole army of Israel. Benaiah, son of Jehoiada, was in charge of the Cherethites and Pelethites.