We see here life resume, with David’s now wife Bathsheeba giving birth to another son, this one she names Solomon, which has echoes of the Hebrew word Shalom, or peace.
David is restored, forgiven, at peace with his God and at peace with his wife.
And in fact God gives him the victory over the city of Rabbah.
There are hints of trouble in David’s disproportionate treatment of the Ammonites.
But the chapter finishes with the nation at peace and the King in Jerusalem.
2 Samuel 12:25 She gave birth to a son and named him Solomon. The Lord loved him, 25 and he sent a message through the prophet Nathan, who named him Jedidiah, because of the Lord.
26 Joab fought against Rabbah of the Ammonites and captured the royal fortress. 27 Then Joab sent messengers to David to say, “I have fought against Rabbah and have also captured its water supply. 28 Now therefore, assemble the rest of the troops, lay siege to the city, and capture it. Otherwise I will be the one to capture the city, and it will be named after me.” 29 So David assembled all the troops and went to Rabbah; he fought against it and captured it. 30 He took the crown from the head of their king, and it was placed on David’s head. The crown weighed seventy-five pounds of gold, and it had a precious stone in it. In addition, David took away a large quantity of plunder from the city. 31 He removed the people who were in the city and put them to work with saws, iron picks, and iron axes, and to labor at brickmaking. He did the same to all the Ammonite cities. Then he and all his troops returned to Jerusalem.