Question
What do the Quran and Sunnah say about patience in hardship?
Quran
Al-Baqarah 2:153يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ ٱسْتَعِينُوا۟ بِٱلصَّبْرِ وَٱلصَّلَوٰةِ ۚ إِنَّ ٱللَّهَ مَعَ ٱلصَّـٰبِرِينَO you who have believed, seek help through patience and prayer. Indeed, Allāh is with the patient.
Translation: Saheeh International
Hadith
Sahih Muslim 2999Grade: SahihSuhaib reported that Allah's Messenger (ﷺ) said:
Strange are the ways of a believer for there is good in every affair of his and this is not the case with anyone else except in the case of a believer for if he has an occasion to feel delight, he thanks (God), thus there is a good for him in it, and if he gets into trouble and shows resignation (and endures it patiently), there is a good for him in it.
In short
The verse pairs patience with prayer and says that Allah is with those who are patient. The hadith adds that for a believer, hardship borne with patience becomes a source of good.
This is evidence, not a ruling. For your own situation, ask a qualified scholar.