God certainly does not condone evil but at time permits it so that prophecy can be fulfilled, and for other purposes that, in this present time, are hard to comprehend. Satan is the author of evil, but ultimately, for his glory and to the benefit of those that he loves.