America may seem leaderless, with nastiness and bullying ascendant, but the best of our nation materialized during a moral crisis on a commuter train in Portland, Ore.

A white man riding on that train on Friday began screaming anti-Muslim insults at a black 16-year-old girl and her 17-year-old Muslim friend wearing a hijab. One can imagine people pretending not to hear and staring fiercely down at their phones; instead, three brave passengers stepped forward to protect the girls.

The three were as different as could be. One was a 23-year-old recent Reed College graduate who had a mane of long hair and was working as a consultant. Another was a 53-year-old Army veteran with the trimmest of haircuts and a record of service in Iraq and Afghanistan. The third was a 21-year-old poet and Portland State University student on his way to a job at a pizzeria. What united the three was decency.

When they intervened, the man harassing the girls pulled a knife and slashed the three men before fleeing. Rick Best, the veteran, died at the scene. Taliesin Namkai-Meche, the recent Reed graduate, was conscious as he waited for an ambulance. A good Samaritan took off her shirt to cover him; she recounted that some of his last words were: “I want everybody on the train to know, I love them.” He died soon after arriving at the hospital.