'A'isha reported: I heard Allah's Messenger ﷺ as saying: There is nothing (in the form of trouble) that comes to a believer even if it is the pricking of a thorn that there is decreed for him by Allah good or his sins are obliterated.
This hadith also encourages us to have patience and perseverance during times of hardship as it reminds us that there is always something better waiting for us at the end if we stay true to our faith. We should not give up hope but instead strive towards achieving what is best for ourselves and those around us while trusting in Allah's plan for us all along the way.