Sometimes 'bad things' is not a punishment, perhaps a good reminder. Like a child did something wrong, parents scolded a few words,or hit a few,can we say parents do not love this child yet? Parents do not want their child to walk the wrong way and hope that the child to correct the error.
When I was a little child,I was afraid to go to hospital.But when I am growing up,I will go to hospital when i am unhealthy.Facing the same thing I have two different attitudes because I know that is good for me.The same to the 'bad things',it is not 'bad' when we got some benefits.So,in my opinion, judging one thing is good or bad is decided by whether you get benefits from it.
I think, God is there such a heart. After all, We still enjoy the food, air, water and so on that God has given to us and we still live in this world. If God is punishing human only, how could led the Israelites out of Egypt, into the land of Canaan; How could went to the cross.I think given to people more is love, neither punishing, nor revenging.