On the authority of Abu Hurairah that the Messenger of Allah, sal Allahu alayhi wa salla, said: “Seek out that which benefits you, seek help only from Allah and never say you can’t do it.
“If any adversity comes to you, do not say: ‘If I had only acted in such-and-such a way, it would have been such-and-such;’ but instead, say: ‘Allah has decreed (it) and what He willed, He has done,’ for verily, (the word) (if) opens the way for the work of Satan.” – Saheeh Muslim
Lessons from this hadith
If there is something that will benefit you, make every effort and go after it! Seek it out.
There is no failure, only lessons.
[taken from Muhammad Alshareef]