Communities can build a more resilient society