When you fail or lose at something

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

Transliteration

Qadarullaahu wa maa shaa’afa’ala

Translation

It is the Decree of Allah and He does whatever He wills.

SourceIbn Majah: 4168

Related Duas