The answer varies on your of God and relation to the world.In a pantheistic worldview where the world is seen as divine,evil is an illusion.According to the biblical religion,evil is a corruption of the good. God created good, and gave man free will,but man envied God's power and wanted to be gods themselves,so they rebelled.Ever since this rebellion,the world has been a place where God's good gifts are turned into weapons against him and each other.
mario92119