David certainly wasn't a man without flaws and mistakes. The story that unfolds with Bathsheba certainly highlights one of the lowest times in David's life. But his response to this sinful behavior is one of the reasons he will be described as a man after God's own heart!