The child lived for a couple of days and then died.
David wasn't spared the grief. However he eventually moved on and they had another son, (Solomon) but David actually had a lot of problems with his others sons with his other wives. I don't know why he needed lots of wives. It's not that God forgot, after all it's actually written in the Bible all that happened so even we know about it. However David continued to be King and live after that until he died, so his kingdom wasn't taken away from him in that sense.
If David had been judged under the law at the time, he and Bathsheba would have been stoned to death
I always enjoy teaching the Word of God . Here we see that there is some confusion about David being judged.
The first sin that occurred was David coveted Bathsheba.
The tenth commandment states, “You shall not covet … anything that
is your neighbor’s” (
Exodus 20:17).
David then acted upon that and found out she was married and chose to commit adultery with her when the seventh commandment says clearly, “You shall not commit adultery” (
Exodus 20:14).
David murdered her husband when the sixth commandment clearly states, “You shall not murder” (
Exodus 20:13).
After David’s sin with Bathsheba, God did not have David to cut the marital relationship with her since her husband was dead and she was released from that marital law. “For the woman who has a husband is bound by the law to her husband as long as he lives. But if the husband dies, she is released from the law of her husband. So then if, while her husband lives, she marries another man, she will be called an adulteress; but if her husband dies, she is free from that law, so that she is no adulteress, though she has married another man” (
Romans 7:2-3).
The Punishment was........
1.
First: Nathan said the sword would never depart from David’s house (
2 Samuel 12:10).
This was fulfilled in the successive violent deaths of at least three of his sons—Amnon (
2 Samuel 13:29), Absalom (
2 Samuel 18:14), and Adonijah (
1 Kings 2:25).
2.
Nathan also prophesied to David that his own wives would be humiliated before all Israel (
2 Samuel 12:11).
This was fulfilled when Absalom “lay with his father’s concubines in the sight of all Israel” (
2 Samuel 16:22).
3.
Nathan pronounced the fatal end of the son conceived by David’s sin with Bathsheba (
2 Samuel 12:14).
This was fulfilled
seven days after Nathan’s judgment sentence (
2 Samuel 12:18). To
David, the death of his son was a far greater punishment than his own death.