Valmiki Ramayana Yuddha Kanda Sarga 74 Shloka 22
Original Shlokaतस्मिन्जीवतिवीरेतुहतमप्यहतंबलम् । हनूमत्युज्झितप्राणेजीवन्तोऽपिवयम् हृता ।।6.74.22।।
1 source checked for this shloka
तस्मिन्वीरे if this hero, जीवितliving, हतमपि destroyed, बलम् army, अहतम् intact, हनूमति Hanuman, उज्झितप्राणे is still alive, वयम् we, जीवन्तःअपि living also, हृताः like dead only.
If this hero Hanuman is alive, even if the army is destroyed and if we are alive, it is like dead only.