Sweetened Dinim are Better than Before
People think, "Why do I need a tzarah and the salvation that comes after it? Wouldn't it be better if the tzarah wasn't there in the first place?"
Be aware that when there is a tzarah, which is sweetened due to our tefillos and the like, a person’s situation becomes even better than before.
A mashal to this idea is someone who was given a hot cup of bitter tea. He wonders, "Why do I need this?" Then sugar is added to the tea. Now, his problem, the bitter cup of tea, is to his benefit. He currently has a delicious hot drink to enjoy.
The same is true with all yesurim and hardships. When they disappear and become sweetened, it isn't that there aren't yesurim anymore. It is actually better now. It is better than if there was no trouble to begin with.
The Prishah (Orach Chaim 130) says this lesson regarding a "bad dream." When the dream turns around and becomes a good dream, it becomes better than before. If the dream disappeared, he wouldn't gain, and he wouldn't lose from the bad dream. But when a dream is sweetened, everything becomes better for him.
He writes, "It is known that all dreams are according to how they are interpreted. So, if one interprets the dream in a good way, he will receive more goodness than if he had never experienced a bad dream. This is the reason [when one says the tefillah for a bad dream at birkas kohanim, he says] ואם רבינו משה ידי על מרה מי כמו ... רפאם רפואה צריכים, 'If the dream needs curing, cure it... as the bitter waters of Marah were cured by Moshe Rabbeinu.' We don't say, 'If the dreams were bad, take them away,' because we want the dream, but we want it to be healed and become a good dream. This is why we compare it to the bitter waters of Marah that Moshe Rabbeinu healed. Moshe didn't daven for the bitter waters to disappear because they still wouldn't have water to drink. Instead, Moshe davened that the water became sweet so the Yidden could gain from the existing problem. The same [we pray at birkas kohanim] that if the dream was bad, it should be healed like Miryam was healed from her tzaraas. When Miryam was healed from her tzaraas, there was a benefit for her, greater than if she had never had tzaraas. Her tzaraas taught klal Yisrael the severity of lashon hara, and to be distant from lashon hara. Again, we see that healed tzaraas, has a greater benefit than no tzaraas at all. We also daven at birkas kohanim that the dream should be healed] like Naaman, who was cured when he had tzaraas. The tzaraas was a great benefit because Hashem's name became sanctified through it. As it states all the kings of the world praised Hashem. The same is with Chizkiyahu who was healed from his illness. This created a kiddush Hashem."