2 Samuel 12:7-17

7 And Nathan saith unto David, `Thou [art] the man! Thus said Jehovah, God of Israel, I anointed thee for king over Israel, and I delivered thee out of the hand of Saul;
8 and I give to thee the house of thy lord, and the wives of thy lord, into thy bosom, and I give to thee the house of Israel and of Judah; and if little, then I add to thee such and such [things].
9 `Wherefore hast thou despised the word of Jehovah, to do the evil thing in His eyes? Uriah the Hittite thou hast smitten by the sword, and his wife thou hast taken to thee for a wife, and him thou hast slain by the sword of the Bene-Ammon.
10 `And now, the sword doth not turn aside from thy house unto the age, because thou hast despised Me, and dost take the wife of Uriah the Hittite to be to thee for a wife;
11 thus said Jehovah, Lo, I am raising up against thee evil, out of thy house, and have taken thy wives before thine eyes, and given to thy neighbour, and he hath lain with thy wives before the eyes of this sun;
12 for thou hast done [it] in secret, and I do this thing before all Israel, and before the sun.'
13 And David saith unto Nathan, `I have sinned against Jehovah.' And Nathan saith unto David, `Also -- Jehovah hath caused thy sin to pass away; thou dost not die;
14 only, because thou hast caused the enemies of Jehovah greatly to despise by this thing, also the son who is born to thee doth surely die.'
15 And Nathan goeth unto his house, and Jehovah smiteth the lad, whom the wife of Uriah hath born to David, and it is incurable;
16 and David seeketh God for the youth, and David keepeth a fast, and hath gone in and lodged, and lain on the earth.
17 And the elders of his house rise against him, to raise him up from the earth, and he hath not been willing, nor hath he eaten with them bread;

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