The Bible tells us that we all have wicked hearts and struggle with sin. As a loving Father, God does not want us to continue living in sin and so He brings about the necessary consequences until we submit to Him.