The Scriptures clearly say that "If you then, being evil, know how to give good gifts unto your children, how much more will you Father in heaven , give good gifts to whose who ask Him." Matthew 7:11 In another verse, Scripture says "Be sober, be vigilant, for your enemy, the devil, is as a roaring lion, seeking whom he may devour." I Peter 5:8
What gives me hope and helps me through a time that I can't understand or bear, is that Scripture also says, "God causes all things to work together for good to those who love Him." Romans 8:28. That is a vast difference than God causing bad things to happen to us. On the contrary, He takes those things and works them to our good, if we allow it.