It was narratd from Abu Hurairah that : the Prophet ﷺ used to say: "Al-hamdu lillahi 'ala kulli hal. Rabbi a'udhu bika min hali ahlin-nar (Praise is to Allah in all circumstances, O Allah, I seek refuge with You from the situation of the people of Hell)".
This hadith also reminds us that no matter how difficult our life may seem at times, it is still better than what awaits those who do not follow God's commands in hellfire. Therefore, we should strive to do good deeds even when it seems hard or impossible because it will be worth it in the end when we are rewarded by God for our efforts.