dear sal12,
assalamu alaikum.
i can understand you very well.noone likes to fail but sumtimes it indicates your faith in Allah.be strong my sister.i have faced similar situation in my life and i know one thing,if you be closer to Allah by making continues duas and having faith in Him and praying to Him from core of your heart,you will see His Blessings.
when you feel depressed and frustated ,alwaz remember Allah.ask help from Him because there is none other than Him to bestow you Blessings. May Allah bless you -Aameen
Allaah knows the best!
There are many duas that you can recite during depression,sorrow and anxiety etc:
Allahumma innee a`udhu bika mina al-hamm wal hazan wa a`udhu bika
mina al-`ajzi wa al-kasal wa al-jubun wa al-bukhl wa ghalabati al-dayni wa
qahri al-rrijaal (O Allah, I seek refuge in You from worry, depression, helplessness,
sloth, cowardice, niggardliness, and the burden of debts and domineering men.)
Allahumma, anta rabbee, laa ilaaha illaa anta; khalaqtanee, wa ana `abduka
wa ana `alaa `ahdika wa wa`dika ma istata`tu; a`udhu bika min sharri maa
sana`tu; abu’u laka bi ni`matika `alayya wa abu’u bi dhanbee; fa ighfir lee fa
innahu laa yaghfiru al-dhunuba illaa anta (O Allah, You are my Lord, there is
no other god but You; You have created me, I am Your servant; I stand by Your
covenant with me according to the best of my ability; I seek refuge and protection
in You from my evil deeds; I acknowledge Your favors upon me and I confess my
sins before You; so forgive me, for no one can forgive sins but You).
Rabbi innee a`udhu bika min hamazaati al-shshayaateeni wa a`udhu bika rabbi
an yahdhuruni (my Lord, I seek refuge and protection in You from the whisperings
of devils; I seek refuge and protection in You from their presence around me).
Allahumma innee a`udhu bika minmaa ajidu wa uhaadhiru (O Allah, I seek refuge
and protection in You from what I feel and fear from).
Laa ilaaha illa Allahu al-`azeemu al-haleem, laa ilaaha illa Allahu rabbu
al-`arshi al-`azeem, laa ilaaha illa Allahu rabbu al-ssamaawaati wa al-ardi wa
rabbu al-`arshi al-kareem (There is no god but Allah, the Great, the Clement; there
is no god but Allah, Lord of the Mighty Throne; there is no god but Allah, Lord of
the heavens and earth and the Lord of the Noble Throne).
"Subhan Allah wa bihamdihi subhan; Allahi al-`azheem"
(glory be to Allah, and praise be to Him; glory be to Allah the Glorious).
"Subhan Allah wa bi hamdihi `adada khalqihi, wa ridha'a nafsihi,
wa zinata `arshihi, wa midada kalimatihi"
(glory be to Allah and praise be to Him in a manner that befits the [infinite]
number of His creation, and as it pleases Him, and as it befits the true weight
of His throne as well as His infinite knowledge).
Furthermore, condition yourself to read the following du`aa' on a regular
basis as they have been prescribed by the Prophet (peace and blessings be
upon him) for repelling anxieties and gaining serenity and peace. You are
best advised to read them an odd number of times (preferably three) in the
mornings as well as at night prior to retiring to bed:
La ilaha illa Allahu al-`azheem al-haleem; la ilaha illa Allahu, rabbu al-`
arshi al-`azheem, la ilaha illa Allahu, rabbu as-samawati wa al-ardi wa rabbu al-`arshi al-kareem (There is no god but Allah, the Glorious, the Clement; there is no god but Allah, Lord of the mighty throne; there is no god but Allah, Lord of the heavens and the earth, and Lord of the noble throne).
Allahumma inni (if you are male say: `abduka wa ibn `abdika ibn amatika;
if you are female say: amatuka wa bintu `abdika wa bintu amatika), nasiyati bi yadika madin fiyya hukmuka `adlun fiyya qada’uka as’aluka bi kulli ismin huwa laka sammayta bihi nafsaka aw anzaltahu fi kitabika aw `allamtahu ahadan min khalqika aw ista’tharta bihi fi `ilm al-ghaybi `indaka an taj`ala al-Qur’ana rabi`a qalbi wa nura basari wa jila’a huzni wa dhahaba hammi (O Allah, I am Your servant, son/daughter of Your servant, my forelock is under Your firm grips, Your decree in my case is sure to be realized, and Your judgment is just. I ask of You by invoking every single name that You possess, with which You have called Yourself, or You have revealed in Your scripture or You have instructed any of Your creation or You have kept hidden with Yourself in the knowledge of the unseen realities to make the Qur’an the spring of my hearts, light of my eyes, and dispeller of my grief and remover of my anxieties).
Ya hayyu ya qayyumu bi rahmatika astaghithu (O the Ever-Living, the
Eternal Source of all beings! I beseech Your mercy and assistance).
your sister.