2 Samuel 12:10-12

10 Now therefore the sword shall never* depart from thine house; because thou hast despised me, and hast taken the wife of Uriah the Hittite to be thy wife.
11 Thus saith the LORD, Behold, I will raise up evil against thee out of thine own house, and I will take thy wives before thine eyes, and give them unto thy neighbour, and he shall lie with thy wives in the sight of this sun.
12 For thou didst it secretly: but I will do this thing before all Israel, and before the sun.

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

2 Samuel 12:10-12 In-Context

8 And I gave thee thy master's house, and thy master's wives into thy bosom, and gave thee the house of Israel and of Judah; and if that had been too little, I would moreover have given unto thee such and such things.
9 Wherefore hast thou despised the commandment of the LORD, to do evil in his sight? thou hast killed Uriah the Hittite with the sword, and hast taken his wife to be thy wife, and hast slain him with the sword of the children of Ammon.
10 Now therefore the sword shall never depart from thine house; because thou hast despised me, and hast taken the wife of Uriah the Hittite to be thy wife.
11 Thus saith the LORD, Behold, I will raise up evil against thee out of thine own house, and I will take thy wives before thine eyes, and give them unto thy neighbour, and he shall lie with thy wives in the sight of this sun.
12 For thou didst it secretly: but I will do this thing before all Israel, and before the sun.
13 And David said unto Nathan, I have sinned against the LORD. And Nathan said unto David, The LORD also hath put away thy sin; thou shalt not die.
14 Howbeit, because by this deed thou hast given great occasion to the enemies of the LORD to blaspheme, the child also that is born unto thee shall surely die.
The King James Version is in the public domain.