In his later years, Rabbi Yechezkel Levenstein wrote that those situations which initially caused him suffering were ultimately the cause of good fortune.

We can never really be certain that any event will actually be bad for us. Why assess an event as definitely negative, when it can turn out in a way that you will clearly see is for your benefit?