2 Samuel 12:26-31

26 Now Joab was fighting against Rabbah, in the land of the children of Ammon, and he took the water-town.
27 And Joab sent men to David, saying, I have made war against Rabbah and have taken the water-town.
28 So now, get the rest of the people together, and put them in position against the town and take it, for if I take it, it will be named after my name.
29 Then David got all the people together and went to Rabbah and made war on it and took it.
30 And he took the crown of Milcom from his head; the weight of it was a talent of gold, and in it were stones of great price; and it was put on David's head. And he took a great store of goods from the town.
31 And he took the people out of the town and put them to work with wood-cutting instruments, and iron grain-crushers, and iron axes, and at brick-making: this he did to all the towns of the children of Ammon. Then David and all the people went back to Jerusalem.

2 Samuel 12:26-31 Meaning and Commentary

INTRODUCTION TO SECOND SAMUEL 12

Nathan is sent to David to charge him with his sin, and convince him of it by a parable, 2Sa 12:1-6; which being accommodated and applied to David's case, brought him to a conviction and acknowledgment of it, and repentance for it, which was forgiven him, 2Sa 12:7-13; though he is told the child begotten in adultery should die, and it was quickly struck with sickness and died; and David's behaviour during its sickness and at its death is recorded, 2Sa 12:14-23; after which Solomon was born to him of the same woman, and had the name of Jedidiah given him by the Lord, which signifies the beloved of the Lord, and as a token of reconciliation, and a confirmation of his sin being forgiven him, 2Sa 12:24,25; and the chapter is concluded with the taking of the city of Rabbah, and the spoil in it, and the usage of the inhabitants of it, 2Sa 12:26-31.

The Bible in Basic English is in the public domain.