The Talmud states that we are obligated to make a blessing over misfortune, just as we make a blessing over the good.

What is the meaning of "just as?" When someone does you a favor, you feel grateful. The greater the favor, the greater your feeling of gratitude.

"That," said Rabbi Yitzchok Blauser, "should be the attitude towards suffering. When you suffer a little, realize the Almighty is sending that suffering for your benefit. When you suffer more, realize He means it as an even greater benefit. In proportion to the amount of suffering is the ultimate benefit to you."