Answer: The Creator did this so that man would attain perfection from his imperfection, and with this perfection he would become equivalent to the Creator. This state will be attained when man connects all the negative characteristics that the Creator created in him with all the positive characteristics that he has attained thanks to his work, but with the help of the Creator.
If the Creator had created him perfect, then he would not be Adam (Man), but would remain on the level of a “beast” unchanged. In Kabbalah, this level is called an angel, spiritually lifeless, i.e., without any freewill or independent existence.
From the Kabbalah Lesson in Russian 3/13/16