Yes, the Qur’an uses stories to provide relatability and offers coping strategies to feel better about temporary negativity and distress.
The Qur’an tells the stories of many individuals who experienced profound distress and other negative emotions, and provides priceless guidance on how we may overcome these emotions. The Qur’an teaches us that even the greatest of people, from God’s prophets and messengers to saintly men and women, experienced periods of profound distress, grief, or sorrow. We can learn from this that such emotions are a normal part of the human experience. Just as Allah gave us life, He also gave us emotions.
Seeking solace by visualizing the promise of eternal, untainted happiness in Paradise compared with the temporary nature of this life, striving to remember God frequently and engage in dhikr, and turning to God with your complaints and pains in prayer and supplication are all actions inspired by Quranic guidance that help us through negative emotions. Additionally, seeking out the support of groups or trusted individuals (such as grief and bereavement support groups) who have gone through similar experiences may provide needed validation and catharsis.