King James Version
Nevertheless the king's word prevailed against Joab. Wherefore Joab departed, and went throughout all Israel, and came to Jerusalem.English Standard Version
But the king's word prevailed against Joab. So Joab departed and went throughout all Israel and came back to Jerusalem.New International Version
The king's word, however, overruled Joab; so Joab left and went throughout Israel and then came back to Jerusalem.