God is good, and there is nothing bad in Him. Many Christians have a default mode of thinking that God uses bad things to accomplish good purposes, but this is simply bad doctrine. Bad is not good in disguise. God isn't playing games with us or doing hurtful things to bring about good in our lives.