If it was true that an omniscient/omnipotent God created the world, God is fully responsible for its state and condition. The bad is there by the will of God.