Accordingly the Supreme Thought prepared in advance in the Sefirot themselves not only the aspect of the Line that exists everywhere but also Arich Anpin, which is the mystery of what will be at the very end. For then the Sefirot themselves will be repaired through the path of unity, which brings complete beneficence. This is the mystery of how the Line purifies the Residue. (The Line is present in each Sefirah in order to repair it in the end. In addition, there is one particular Partzuf, Arich Anpin, whose function is to bring the governmental order – made up of the Sefirot – to a state of repair.) This is the “last in deed, first in thought”.
138 Openings of Wisdom on the Divine Face
Kalach Pitchei Chokhmah 92:13