Good from Evil

Faith gives us the certainty that God would not permit an evil if He did not cause a good to come from that very evil, by ways that we shall not fully know until we enter into eternal life.”

(Catechism of the Catholic Church, no. 324)