Once, Aisha was with the Prophet (salla Allahu alayhi wa sallam) and he was sick with a high fever, in great pain. Aisha remarked at how painful and difficult this was, even for her to watch. The Prophet (salla Allahu alayhi wa sallam) remarked,
“O Aisha! Do you not know that Allah makes matters difficult for the believer so that all of his sins may be forgiven?”
[Ibn Sa’d; authentic]
So remember that when life gets tough, the reward for being patient is immense. Always remember the purpose of such tests: to raise our ranks and forgive our sins. And know that the trials of this world are infinitely easier than the trials of the next, and the joys of the next world are infinitely better than the joys of this world.