Allah in His Mercy is not one that requires of you pain, requires of you to put yourself to the test in some effort to prove your loyalty to the worship of him and to prove your servitude to him (swt) but at the same time if Allah decides to test you then Allah has given you the equipment, the tools the spiritual Reservoir, the mechanism to be able to overcome that test and know that there will be a great reward in that test.
you don’t go thrust yourself into test as a means of trying to prove yourself to Allah subhanahu wa’ta’ala, because Actions are judged by intentions.
so don’t wish to meet your enemy whether it’s in the form of a person or in the form of a disease or in the form of a trial. Don’t test Allah, Allah will test you and when Allah tests, you know that Allah is testing you to bring about a greater reward from you and know that when Allah spares you, Allah is sparing you, but that doesn’t necessarily mean he’s excluding you from The reward. and this is all part of the mercy of who he (swt) is.
You don’t have to thrust yourself into hardship. But react when hardship comes connected to Allah subhanahu wa’ta’ala and Alhamdulillah, Alhamdulillah, we have a Lord that does not test us beyond our scope.