It was narrated that Abu Hurairah said:
The Messenger of Allah (ﷺ) said: 'The strong believer is better and more beloved to Allah than the weak believer, although both are good. Strive for that which will benefit you, seek the help of Allah, and do not feel helpless. If anything befalls you, do not say, if only I had done such and such rather say Qaddara Allahu wa ma sha'a fa'ala (Allah has decreed and whatever he wills, He does). For (saying) 'If' opens (the door) to the deeds of Satan.'