2 Samuel 11:27 But the thing that David had done displeased the Lord.
I will admit there are stories in the Bible that I find difficult to read. I love the story of David when he slays the giant, but I cringe when I read of him sinning with Bathsheba. David made a series of mistakes that led to his fall. For one thing he should have been out in the battle instead of on the balcony. He put himself in a place of potential compromise. Next after he saw Bathsheba he should have immediately turned away and repented before the Lord. Yet instead of running from sin he gave into it and the results were devastating. The lesson we learn from the story is not to repeat the same mistakes. We need to avoid at all costs anything that could potentially wreck all that is good and wonderful in our lives. Sin isn't something to dabble in. A little leaven leavens the whole lump. The flesh must be crucified and every thought taken captive to the obedience of Christ. The devil goes about like a roaring lion looking for an opportunity to devour the child of God. If we know that something is displeasing to the Lord let's stay as far away from it as possible.