Explained in detail
Fussilat فصلت Surah 41, Ayah 49
لَّا يَسْـَٔمُ ٱلْإِنسَـٰنُ مِن دُعَآءِ ٱلْخَيْرِ وَإِن مَّسَّهُ ٱلشَّرُّ فَيَـُٔوسٌ قَنُوطٌ
The human being never tires of praying for good things; but when adversity afflicts him, he despairs and loses hope.
Arabic: Tanzil Project. Translation: Talal Itani, ClearQuran.com (CC BY-ND 4.0).