God has a purpose behind every problem
God uses problems to draw you closer to himself
Lord is close to the brokenhearted - Psalms 34:18
God had the ability to kept:
... but he didn't
Problem force us to look to God and depend on him
None of your problem could happen without God's permission
Romans 8:28-29 (NLT)
And we know that God causes everything to work together for the good of those who love God and are called according to his purpose for them. For God knew his people in advance, and he chose them to become like his Son, so that his Son would be the firstborn, with many brothers and sisters.