God does not bring bad things on us or cause calamity in our world today. He is not trying to teach us any lessons through suffering. God is indeed with you through the trial, but that does not mean he brought that trial onto you.
A while back I wrote an article explaining that God does not bring calamity. In response to that article, people keep bringing up Isaiah 45:7 over there in comments of that post. However it is a fair question because Isaiah 45:7 certainly appears to directly contradict what I’ve said in that article: I form the