Shaikh Uthaimeen, may Allaah have mercy on him, said, “If you are given a blessing then do not [just] take it as a blessing, becoming merry and happy. It is a blessing, there is no doubt about that, but know that you are being tested by it, [tested] to see whether you will give due thanks for it or not.

If some harm comes your way, then be patient, for that too is a trial and test from Allaah the Mighty and Majestic to test whether you will be patient or not. And if you are patient and hope for the reward from Allaah, then Allaah said, “Only those who are patient shall receive their rewards in full, without reckoning.”” [Zumar 39:10]

Tafsir Juzz Amma, p. 128.