Perhaps luxury and laziness were at fault. Perhaps it was arrogance. But certainly it was dereliction of duty. At a time when king David should have been on the battlefield, he was instead at home in his palace. Unable to sleep he, he climbed to the roof where the wind was more likely to cool him. From this high vantage point he was able to survey the surrounding area.
The light from the moon, or perhaps from some lamp, illuminated a beautiful woman bathing. David should have closed his eyes, or turned his head. He should have gone inside and thought about other things. But instead he sought to find out who the woman is. Then having found out her name, even though she was married and even though he was married, he had her brought to him.
Some time later she sent king David a message letting him know she was pregnant. Not wanting his crime to be known, David called for the woman’s husband to return from battle David asked him how the war was going and sent him to his house. But the husband refused to go home while his fellow soldiers were still at war. The next day king David caused the husband to become drunk, but still the husband did not return home to see his wife.
Finally, knowing that that the husband would not shirk his duty as a soldier, he sent him back to war with a note to the commanding officer that he should place the husband in the battle’s most dangerous front line and leave him exposed to the enemy. The commanding officer obeyed the kings orders, and the woman’s husband died, just as king David had hoped.