#What did Joab do when David remained in Jerusalem? Joab led the army into battle, devastated the land of the Ammonites, and attacked and defeated Rabbah. [20:1]