God knows how to get your attention. Once He has it, He confronts our sin and the He offers hope in our situation and strength for our situation. When God reveals our sin to us, we then have a choice to make: are we going to acknowledge our sin before God and seek to make it right with Him or are we going to continue in our sin and ultimately experience further chastening.