Heck, I am observing candidates giving up during interviews or experienced software engineers giving up during outages. I would say both also require mental fortitude.
I mean, I’ve quit an interview process several times - usually because they were dragging it out, or because the interview process hinted to me I’d not enjoy working there.
Interviews are bidirectional information exchanges - the company is also pitching itself to the candidate during the process.