Notwithstanding the king's word prevailed against Joab, and
against the captains of the host
Who it seems were of the same mind with Joab, and were against numbering the people, yet their arguments and remonstrances were of no avail with the king; he was determined it should be done, and laid his commands upon them to do it, which they were obliged to comply with:
and Joab and the captains of the host went out from the presence of the
king, to number the people of Israel;
seeing him resolute and determined, they submitted, took his orders, and set out to execute them.