Not necessarily; I think the type of bad times experienced and how the majority of people need to act in order to weather them play a big part in how it affects their character.
Although obviously war is horrible and hugely detrimental on net, I think the one silver lining is that you are put into life threatening situations in which you NEED to trust the people around you. Political backstabbing, greed, brown nosing, refusal to take responsibility, laziness... these will get you and/or the people around you killed. I believe people that go through that tend to put more emphasis on creating healthy, sustainable, working organizations than their own self aggrandizement.
When people come on hard times during recessions, I don't think the dynamics are such that it makes strong people, necessarily, or that it offsets selfish impulses in the same way something deeply scaring and emotionally impactful like war can. But I do think people that come out from recessions figure out what lead to the bad times, and generally come out stronger in that they're less likely to repeat the same mistakes.