The ultimate purpose of the exile
is to collect and elevate the "sparks of holiness"
that are scattered throughout the world
and, in doing so,
to rectify the world itself.
–Rabbi Adin Steinsaltz
From Learning from the Tanya, p. 304, by Rabbi Adin Steinsaltz