Ibn Abbas said in every tribulation there are three blessings:
- It could have been worse
- It was in your matters of dunya and not in your deen
- The tribulation is in this world, and not in the hereafter.
… so if something of good/happiness befalls him he is grateful and that is good for him.