A setback in life is really beneficial, as long as a person doesn't lose heart from it. If a setback stimulates a new beginning and a better second effort, it's wonderful! Rebbe Nachman cites Jonah's cry from deep inside the belly of the whale (see Rebbe Nachman's Discourses, 302) as the type of prayer we should all strive for. Only the earnest cries of a broken heart can pierce all barriers, and uplift the world from the depths of impurity
Rather than losing heart from the setback, one needs to arouse oneself and earnestly seek to reveal the concealed emuna, which makes the person – and the world – much more beautiful than if the emuna were never concealed at all. A setback and its subsequent yearning and renewed effort bring out the best in a person. Life's extreme difficulties reveal such lofty traits as valor and dedication, which make a person and the world so much more beautiful.
This Shabbat is Shabbat HaGadol - "The Great Shabbat". It is especially conducive for turning a setback - like all the painful events of recent weeks - into a marvelous triumph. All we have to do is to believe that Hashem loves us and to do our very best to get closer to Him. Shabbat Shalom!