Matthew Henry on 2 Samuel 20:23–end
Here is an account of the state of David's court after his restoration. Joab retained the office of general, being too great to be displaced. Benaiah, as before, was captain of the guards. Here is one new office erected, which we had not (Sa2 8:16-18), that of treasurer, or one over the tribute, for it was not till towards the latter end of his time that David began to raise taxes. Adoram was long in this office, but it cost him his life at last, Kg1 12:18.
Jamieson-Fausset-Brown on 2 Samuel 20:23
DAVID'S GREAT OFFICERS. (Sa2 20:23-26)
Now Joab was over all the host of Israel--David, whatever his private wishes, found that he possessed not the power of removing Joab; so winking at the murder of Amasa, he re-established that officer in his former post of commander-in-chief. The enumeration of David's cabinet is here given to show that the government was re-established in its wonted course.
Next: 2 Samuel Chapter 21
Adam Clarke on 2 Samuel 20:23
Joab was over all the host - He had murdered Amasa, and seized on the supreme command: and such was his power at present, and the service which he had rendered to the state by quelling the rebellion of Sheba, that David was obliged to continue him; and dared not to call him to account for his murders without endangering the safety of the state by a civil war.
Benaiah - over the Cherethites - Benaiah was over the archers and slingers.
See the notes on Sa2 8:18.
John Gill on 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 hi…