2 Samuel 12:25-31

25 and sendeth by the hand of Nathan the prophet, and calleth his name Jedidiah, because of Jehovah.
26 And Joab fighteth against Rabbah of the Bene-Ammon, and captureth the royal city,
27 and Joab sendeth messengers unto David, and saith, `I have fought against Rabbah -- also I have captured the city of waters;
28 and now, gather the rest of the people, and encamp against the city, and capture it, lest I capture the city, and my name hath been called upon it.'
29 And David gathereth all the people, and goeth to Rabbah, and fighteth against it, and captureth it;
30 and he taketh the crown of their king from off his head, and its weight [is] a talent of gold, and precious stones, and it is on the head of David; and the spoil of the city he hath brought out, very much;
31 and the people who [are] in it he hath brought out, and setteth to the saw, and to cutting instruments of iron, and to axes of iron, and hath caused them to pass over into the brick-kiln; and so he doth to all the cities of the Bene-Ammon; and David turneth back, and all the people, to Jerusalem.

2 Samuel 12:25-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.

Young's Literal Translation is in the public domain.