Universe has created everything in a planned way, as such that you can’t imagine anything alone in its existence. If there is day so is night, if there is happiness so is sadness, and if there is prosperity so is adversity. You’ll never understand the value of something in the absence of other. Everything is connected with the other in some context.
So, whenever you go through tough times or feel that things aren’t going the way you thought of, believe that this is connected with something good and gonna lead you to something better, just be patient and have faith.
Same is the reverse case, in times of happiness or success, live the moment but don’t get carried away, coz there’s always a chance that something rash could happen, so just stay humble.