John Gills Exposition of the Bible Commentary - 2 Samuel 12:26
And Joab fought against Rabbah of the children of Ammon ,.... Of his being sent against it, and of his besieging it, we read in 2 Samuel 11:1 ; but it can hardly be thought that he had been so long besieging it, as that David had two children by Bathsheba; but the account of the finishing of it is placed here, that the story concerning Bathsheba might lie together without any interruption: and took the royal city ; or that part of it in which the king's palace was, and which, as... read more
Matthew Henry's Complete Commentary - 2 Samuel 12:26-31
We have here an account of the conquest of Rabbah, and other cities of the Ammonites. Though this comes in here after the birth of David's child, yet it is most probable that it was effected a good while before, and soon after the death of Uriah, perhaps during the days of Bath-sheba's mourning for him. Observe, 1. That God was very gracious in giving David this great success against his enemies, notwithstanding the sin he had been guilty of just at that time when he was engaged in this war,... read more