Valmiki Ramayana Sundara Kanda Sarga 12 Shloka 10
Original Shlokaअनिर्वेदः श्रियो मूलमनिर्वेदः परं सुखम्। अनिर्वेदो हि सततं सर्वार्थेषु प्रवर्तकः।।5.12.10।।
1 source checked for this shloka
अनिर्वेदः being free from despair, श्रियः prosperity, मूलम् cause, अनिर्वेदः being free from despondency, परम् supreme, सुखम् happiness, अनिर्वेदः being free from despair, सततम् always, सर्वार्थेषु in all objectives, प्रवर्तकः हि will lead the way.
Wise Hanuman once again declared, 'being free from despair is the root cause of prosperity. Freedom from despondency gives supreme happiness and leads to success'.