Sometimes a matter seems negative, and one may not understand the inner goodness within it. It is merely because, at that moment, we have not yet traced the path to reveal it. In the end, we will see that all that the Merciful One does is for the best.
https://www.torahrecordings.com/rebbe/igroskodesh/010/006/3351