Text this: National resilience during war