For those who practice patience, musībah (adversity) is a gift from Allāh ta'ālā and not a punishment. This is because patience in the face of adversity brings the proximity of Allāh ta'ālā very rapidly.
Many a time, patience guarantees such rewards and blessings that cannot be acquired solely through one's efforts in 'ibādah (worship) and obedience to Allāh ta'ālā.
Certainly those who observe patience will get their reward in full without measure. (39:10)