After David sinned with Bathsheba and had her husband killed, he hid it for a year. Finally, through the prophet Nathan, God confronted David. When he broke down and repented, his relationship with God was restored. However, as Pastor Mark points out, because he tried to hide it, God allowed David to be exposed to everyone as an adulterer and murderer. In the years to come, he paid a very heavy, very public price for his sins. Our God is merciful and more than willing to forgive and restore a truly repentant heart. But it's up to us to confess and turn from our sin quickly instead of suffering the public humiliation of a sin we tried to hide.