The lower you descend, the higher you ascend; and when, like the psalmist, you regard yourself as nothing before the Lord (cf. Ps. 39:5), then imperceptibly you will grow great. And when you begin to realize that you have nothing and know nothing, then you will become rich in the Lord through the practice of the virtues and spiritual knowledge.
When it is painful to remember the past, it is better to simply repent of what had been bad, and think no more about it. In order not to despair or be enfeebled by it, 'remember the examples of God's great mercies to great sinners. The main thing: do not condemn, do not envy, know yourself and be with God.'