Allah tests with difficulties, as well as, blessings:
“Every soul shall taste of death. And We will test you with evil and with good by way of trial. And to Us is your return.”
“Know that your wealth and your children are but a trial and that Allah has with Him a mighty reward.”
[Sûrah al-Anfâl: 28]
Many people do not realize that they are tried just as severely with the good that they are given as they are by the misfortunes that befall them.
“And as for man, whenever his Lord tries him by honoring him and makes him lead an easy life, he says: ‘My Lord honors me’. But when He tries him by straitening his means of subsistence, he says: ‘My Lord has disgraced me’.”
[Sûrah al-Fajr: 15-16]