God did not create the evil. He established the laws which are always good because he is good. The spirits would have been completely happy had they faithfully observed the law since the beginning. But, being free to make choices, the spirits have not properly obeyed them so that evil come as a consequence of this unwillingness. One can then say that good corresponds to everything which is in accordance with God's law while evil is everything which opposes it.
Allan KardecGod leaves to our conscience the choice of the road we decide to follow, and the liberty of yielding to one or another of the opposing influences that act upon us.
Allan KardecJust as Christ said: I am not come to destroy the Law, but to fulfill it, so Spiritism says: We have not come to destroy the Christian Law, but to carry it out... Spiritism has come at the predicted time to fulfill what Christ announced and to prepare for the achievement of future things. It is then, the work of Christ, Who, as He also announced, presides over the regeneration which is now taking place and which will prepare the reign of the Kingdom of God here on Earth.
Allan Kardec