Resilience in times of war