II Samuel 12:26-31 The Battle Is Won.
Joab continued to lead the nation in battle, while the events on the home front unfolded. In sending word that he had taken the Ammonite royal city of Rabbah, we are told that by this he meant that he had taken the city’s water supply (vv. 26-27). He then invites David to join in a mopping up operation, as it wear, so that history might record that he took the city, and it could be named after him. It should not be forgotten that part of the circumstances that led to David’s sin with Bathsheba, in part stemmed from his not doing his job and going to battle with his army (11:1). Now it would appear that Joab wants to both take David away from any further temptation, as well as to honour his position as king (v. 28). David wisely accepts Joab’s advice, and gathers the people to lead the nation to victory over the royal city (v. 29). In this manner David also obtained a crown belonging to the LORD’s enemies and put it on his own head, the anointed of the LORD (v. 30a).
In this we may be justified in seeing something of what has taken place with David’s greater Son, the anointed of the LORD. Unlike David who suffered for his own sin, but was then forgiven, we know that this was possible because his greater Son would come to suffer for the sins of all his own, so that we also might be forgiven and placed in the battle to take the kingdoms of this world and make them his. This is the Great Commission, the fulfillment of Psalms 2, 110, and many other prophetic promises. Also, just as David and the nation reaped the rest of the Ammonite riches, even so the church reaps the world’s riches for her King (v. 30b). In this case David also put the people defeated to work for him and Israel (v. 31a). “So he did to all the cities of the people of Ammon. Then David and all the people returned to Jerusalem.” (v. 31b) If we take I Chronicles 20:1-2 into account, this appears to be the conclusion to the battle that was involved in the case of Uriah.