John Gills Exposition of the Bible Commentary - 2 Samuel 12:29
And David gathered all the people together ,.... The soldiers that were with him, or near him; which was done partly to recruit Joab's troops, who, by the continuance of the siege, and the sallies of the enemy on them, might be greatly diminished; and partly to make conquests of other cities of the Ammonites, and to carry off the spoil of them: and went to Rabbah ; which must be after the death of Uriah, and very probably during the time of Bathsheba's mourning for him: and fought... 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