#Why did Joab tell David to gather the rest of the army together and camp against the city and take it?

Joab told David to come and camp against the city and take it because Joab said if he took the city it would be named after him. [12:28]