End of story.
At least, it could have been the end. Hey, if this was only David's story to tell that might have been the end of it. His cover-up might have held. He could have congratulated himself on being a good guy, kindly taking in a widow without means. Kind of like the rich young ruler, we could have read the story and just felt sad that David wasn't the king that he might have been. Another life not lived to the full potential.
But David's story, it turns out, wasn't the only story going on here. The prophet Samuel keeps unwinding a bigger story. Because "The thing David had done displeased the Lord." See, if this were only David's story to write, there wouldn't have been any problem. If our stories are ours alone, then we don't need to wrestle with conflict between our ideals and our actions. If your story is yours alone, then go ahead—believe your own hype. Immerse yourself in your PR spin. Keep on making those rationalizations. It's your own story, your own desires, your own ambitions—and don't let anyone else tell you otherwise! That's what our culture tells us, doesn't it?
David could have continued his secret life—and so could we. But it comes with the cost of loneliness.