Find your dua

Duas for when something goes wrong.
What Allah (SWT) decrees is from His wisdom

When something you hoped for does not happen, the Prophet ﷺ taught us to accept Allah's decree rather than dwell on "if only". These words bring peace and close the door to regret.

1 sourced Du'a Arabic, transliteration, meaning, and source
Start with this Du'a

When something goes wrong: Qadaru-llahi wa ma sha'a fa'al

قَدَرُ اللَّهِ وَمَا شَاءَ فَعَلَ

Qadaru-llahi wa ma sha'a fa'al

“This is the decree of Allah, and He does whatever He wills.”

Sahih Muslim 2664

Do not say 'if only I had done such and such', for 'if only' opens the door to the work of Shaytan.