Remember Allah and ask for understanding

Surah An-Nisa, Verse 78:
أَيْنَمَا تَكُونُوا يُدْرِككُّمُ الْمَوْتُ وَلَوْ كُنتُمْ فِي بُرُوجٍ مُّشَيَّدَةٍ وَإِن تُصِبْهُمْ حَسَنَةٌ يَقُولُوا هَٰذِهِ مِنْ عِندِ اللَّهِ وَإِن تُصِبْهُمْ سَيِّئَةٌ يَقُولُوا هَٰذِهِ مِنْ عِندِكَ قُلْ كُلٌّ مِّنْ عِندِ اللَّهِ فَمَالِ هَٰؤُلَاءِ الْقَوْمِ لَا يَكَادُونَ يَفْقَهُونَ حَدِيثًا

“Wheresoever you may be, death will overtake you even if you are in fortresses built up strong and high!” And if some good reaches them, they say, “This is from Allah,” but if some evil befalls them, they say, “This is from you (O Muhammad sallaAllahu alaihi wa sallaam).” Say: “All things are from Allah,” so what is wrong with these people that they fail to understand any word?
(English – Mohsin Khan)

Surah An-Nisa, Verse 79:
مَّا أَصَابَكَ مِنْ حَسَنَةٍ فَمِنَ اللَّهِ وَمَا أَصَابَكَ مِن سَيِّئَةٍ فَمِن نَّفْسِكَ وَأَرْسَلْنَاكَ لِلنَّاسِ رَسُولًا وَكَفَىٰ بِاللَّهِ شَهِيدًا

Whatever of good reaches you, is from Allah, but whatever of evil befalls you, is from yourself. And We have sent you (O Muhammad sallaAllahu alaihi wa sallaam) as a Messenger to mankind, and Allah is Sufficient as a Witness.
(English – Mohsin Khan)