Concerning your question, whether or not your heartfelt sorrow and mourning are beneficial, I tell you that they are very beneficial, for they hold you back from sin, especially from the attachment and pleasure of the world, which are alien to God. Yes, but even here discernment is necessary, that sorrow and mourning are not done inordinately, for then they become harmful. Behold a sign: when you mourn reflecting on your old sins and the mourning becomes inordinate, it ends up in despair; and then you regard God as a merciless punisher, which is absurd. For He disciplines as a Father, and this is how the Christians understands it when he does not mourn inordinately. This is why discernment is most important, for it delivers us from excesses and deficiencies.
When despair overcomes you, think about something else: If God commanded men to forgive the faults of their fellow men seventy times seven each day, how much more will an infinitely compassionate God forgive? Who has ever repented and not been saved? Who has ever said, “I have sinned” and was not forgiven? Who has fallen and sought help and was not raised up? Who has wept and was not comforted by God? “If you then,” says the Lord, “being evil, know how to give good gifts to your children, how much more will your Father who is in heaven give good things to those who ask Him?” (Mt. 7:11 ).
Our heavenly Father disciplines us, not to make us despair, but rather to make us repent and correct ourselves. When we misunderstand the meaning of discipline, we end up in despair. Under the sway of such an influence, it is impossible for the soul to be consoled. But when we retain a healthy understanding of the meaning of discipline and afflictions, much divine comfort follows. Behold, my child, under what circumstances mourning and grief are beneficial.
Elder Ephraim of Arizona