v1-2: David was resting when he should have been fighting; he sent another when he should have gone himself. The devil does make work for our idle hands. There is also a distinction to be made between delegation and idleness.
Service for Christ does not prevent temptation arising, but it can help us to set our minds on Christ, and thus resist temptation.
It is also possible that the fact that David had many wives made him susceptible to sexual sin.
v3-4: David's sin is recorded without any detailed description; whilst sin is real, we must not record lurid details, which can of themselves bring temptation.
The order of sin; 'I saw; I coveted; I took; I hid;' both Adam and Eve, and Achan's sins followed this pattern. We must therefore be careful what we look at, for temptation can so easily follow.
Some speak of the ‘ten-second rule.’ The start of a devastating act of adultery is often a ten-second incident. For David, it was him asking the name of the woman he saw. It may be a genuine act of concern or interest, and may seem harmless. But that single act can easily lead to something more significant.
v5: Doubtless, Bathsheba reported her pregnancy some time later. Throughout this time, the army was fighting under Joab.
v6-11: David's first attempt to cover his sin. If Uriah slept with his wife, then they may think that the subsequent child would be Uriah's, not David's. This ruse failed since Uriah was an honourable man; he was serving God in the army, and rejected the comforts offered by David; he was willing to be deprived of such things for the Lord's sake.
v12-13: David tried again, making Uriah drunk, but he still did not sleep at home.
v14-17: David's calculated deception; he had already ignored his conscience, for many weeks. Now he sought to have Uriah killed. David was prepared to have a godly man sacrificed so that his sin would remain hidden.
v18-25: Joab's attack on the city had cost a number of lives, including Uriah's. Doubtless his actions could have been criticised. But David's anger would have been pacified by hearing of Uriah's death. Joab and the messenger were only following instructions; David remained the guilty man.
v26-27: Bathsheba rightly mourned for Uriah. David then callously took her as a wife. But, no sin can be hidden from God, and God was displeased.
This episode is so much out of character for David, yet it stands as a powerful warning; if the man after God's own heart could fall so badly, then we must all be careful. Temptation is a powerful thing; and it seems, sexual temptation is particularly powerful.
For months, until 12.13, David lived in rebellion against God; the child was born before Nathan spoke to David.