Answer: Specifically because the Creator is good, He created evil so that we would change it to the good; we would understand in which state, at which summit, at which level, He is found and we would become similar to Him.
Question: Why was it impossible to place us in a perfected state from the start?
Answer: If we were to find ourselves in a perfected state, we would feel Him no more than an embryo does the womb of his mother.
Question: Did the Creator create anything else besides evil?
Answer: Nothing. He only created evil, what is called “against him” (Genesis 2:18), meaning something opposite and contrary to Him.
Question: If so, where does altruism come from?
Answer: Altruism appears within us when we want to adapt ourselves to the characteristics of the Creator. In every person there exists a point in the heart that the Creator intentionally placed in him, and thanks to it, we can change our original and true ego into a characteristic that is its opposite. This point is called, “A portion of God from above.” (Job 31:2)
From the Kabbalah Lesson in Russian 2/26/17