In his distress he sought the favor of the LORD his God and humbled himself greatly before the God of his ancestors.
(2 Chronicles 33:12)
It often takes distress and trouble for us to realize that we simply can't do it alone and that we need to turn it (everything) over to God. It's sad that it takes distress for us to humble ourselves before the Lord. We've tried it our own way and we are finally so desperate that we turn to God. Turning to God should always be our first action, never second, third, or as a last resort.