How do you stay resilient in hard times?

What I do to stay resilient in hard times is to stay positive or saying a prayer. I like to be around other positive people. It really helps a lot. Just seeing another smile brings my heart joy.