When you're young, I don't think there is much of anything you can do.
When you're working in a career, this is what I think helps you weather storms:
1) Have a basic understanding of finance. Understand stuff like APR, adjustable rates, compounding interest, 401ks, IRAs, ETFs, index funds, etc.
2) Build an emergency fund.
3) Never invest money you're going to need in <5 years. That means you'll have cash in hand, that also means you might have a lot of cash in hand if you're saving for a down payment on a house or saving for a car. You're giving up possible returns but in turn gaining security.
4) Live below your means. That might mean trade offs, learn what the best way to spend your money is for you, it will be different for everyone. (If your living below your means and are happy don't let others tell you you are spending your money "wrong.")
5) Work to reduce your debt. Try to work towards paying cash for most purchases. A lot of unaffordable things look affordable when you only look at monthly payments. That being said, debt can be a useful tool when used properly.
6) Insure everything that you need to insure, but don't over insure.
7) Don't treat the house you live in as an investment, unless it's a multifamily home you're going to rent out the other unit(s), it's an expense. Houses have some magical money sucking abilities.
8) Never let other people push you into homeownership, it should be something you want to do.
9) Build strong interpersonal relationships.
10) Practice radical acceptance. Let go of fighting reality. Accept your situation for what it is. When you fight reality you turn pain into suffering.
Disclaimer, this is just my opinion.