The vision of the ladder agrees with this meaning; for the two larger pieces of wood of the ladder, which are on each side and are raised from the lower parts to the upper, signify the two precepts of love. By the steps, however, which are inserted crosswise on each side into those two pieces of wood, the other virtues are signified. And just as the two pieces of wood cannot be held together without the steps, nor the steps without the two pieces of wood, so love cannot exist without the other virtues, nor the other virtues without love. And just as the various steps, unless they are inserted ...on each side into the two larger pieces of wood, cannot provide ascent for people, so the other virtues, unless they are born from love of God and love of neighbor, cannot provide ascent for those who wish to go to heaven, as the apostle John says: “For whoever does not love his brother whom he sees, how can he love God whom he does not see?” (1 Jn. 4:20). And just as the ladder was seen to touch the earth on one side and heaven on the other, so love is joined to our lower neighbors and to God who is above. Therefore also the angels of God were shown ascending and descending upon it; because the holy ones of God, who are signified by angels, are sometimes lifted up to the heights by love of God through the grace of contemplation, and sometimes brought back down to the lower things by love and care of neighbors. Moreover, he saw the Lord leaning upon the ladder; because whoever strives to ascend to the Lord by the path of the virtues, after they have completed the journey of their way, find the Lord, the author of all good things and the giver of rewards, with whom they will rejoice without end.
Source: Commentary on Revelation