When Allah intends good for His slave
Anas (radi Allahu anhu) reported that the Messenger of Allah (sal Allahu alaihi wa sallam) said, “When Allah intends good for His slave, He punishes him in this world, but when He intends an evil for His slave, He does not hasten to take him to task but calls him to account on the Day of Resurrection.”
This Hadith shows that, for a Muslim, trials are also a blessing in this world because his sins are forgiven in proportion to the trials he has to face and his reward is increased with the Will of Allah. Thus, a Muslim should always be patient and content in the event of trial because without these qualities he will not have the privilege associated with them. In fact, his impatience would increase his sins even further.
And Allah Knows Best!