In order to justify this claim...
In order to justify this claim, we are invited to contemplate on various benefits of pains for human beings as human beings. For example, suffering from pains helps us to gain some moral virtues such as patience, satisfaction and so on. In other words, this view insists on the distinction between what is really evil and what only does not fit to our bodily desires and dispositions.
Tabatabaii puts this distinction in another way: The apprehended idea by which someone suffers is not evil or pain inasmuch as one makes oneself by means of it more perfect. And it is an existential entity. But inasmuch as it is a thing in the external world, like the cut of an organ and the disappearance of the connectedness, it is a nonexistent thing and here lies the [real] evil and pain. (Mulla Sadra, 1981, p.