There is a grief that life eventually closes around, and a grief it cannot. The Qur'an does not edit the second kind out. Ya'qub weeps until he goes blind and says, "I complain only of my grief and sorrow to God" (12:86). Maryam, alone and in pain, wishes she had never existed (19:23) — and the water springs up at her feet a moment later. Yunus, in the dark, is answered and "rescued from the grief" (21:88). These are not tidy lessons. They are people speaking to God from the floor.
The verses below are the ones the tradition returns to when the ground gives way — not to hurry you past the sorrow, but to keep you company inside it. If you want the longer reflection, our essay Finding God through heartbreak traces why faith so often arrives precisely here.
2:155 — And we will surely test you with something of fear and hunger, and loss of wealth and lives and fruits — but give good news to those who are patient,
2:156 — those who, when calamity strikes them, say, "we belong to God, and to him we shall return."
12:86 — He said, "I bring my anguish and my sorrow to God alone, and I know from God what you do not know.
19:23 — The pangs of childbirth drove her to the trunk of a palm tree. She said, "If only I had died before this and been forgotten, utterly forgotten."
21:87 — And remember Dhul-Nun, when he went off in anger and thought we would not constrain him. Then he cried out from within the depths of darkness: "There is no god but you. Glory be to you. Truly, I have been among the wrongdoers."
65:3 — and will provide for them from where they did not expect. Whoever places their trust in God — he is enough for them. Indeed, God brings his purpose to pass; God has set a measure for everything.
13:28 — those who believe, and whose hearts find peace in the remembrance of God — truly, in the remembrance of God hearts find peace.
39:53 — Say: my servants who have wronged yourselves through excess, do not despair of God's mercy. God forgives all sins. Indeed, he is the Forgiving, the Merciful.