Good mental is one of the core skills, and I think the silver lining for Nepo in this is that it’s very clear what he needs to improve. Hopefully he’ll be able to pick himself up and become a stronger competitor from it.
Incidentally the mental test of this best of 14 format isn’t even as hard as it can get. They used to play to a certain number of wins. The 1984 championship was abandoned in February 1985 (it started in September 1984) after 48 games (40 draws). They also had longer time controls back then, and would adjourn games overnight if necessary, so when you woke up to play a game you wouldn’t even know if you’d be able to go to sleep that night having finished it.