However, the king’s command prevailed over Joab and the leaders of the army, so they left the king’s presence in order to register the people of Israel.