A limb that is severed by amputation may not like to be amputated, but you must not see it from the point of view of the limb only. So, unpleasant things are not always unnecessary things. We cannot have a cosmic eye, and we cannot think as Nature thinks. The total eye of Nature alone can see the total need within its constitution, which includes people like us. We are also a part of Nature only.
Nature never does a bad thing.
There is no such thing as a bad thing for Nature. It looks unpleasant, because we are outside Nature, psychologically. If we are one with Nature, we will see nothing improper taking place. We are looking at things by standing outside nature. That is why we cannot see things properly and impartially.