Man is not weary of supplication for good [things], but if evil touches him, he is hopeless and despairing.
The Saheeh International Quran Translation
لَّا يَسْـَٔمُ ٱلْإِنسَٰنُ مِن دُعَآءِ ٱلْخَيْرِ وَإِن مَّسَّهُ ٱلشَّرُّ فَيَـُٔوسٌ قَنُوطٌMan is not weary of supplication for good [things], but if evil touches him, he is hopeless and despairing.