I think "meaning" plays a huge role and when you can get yourself to buy into a productive/growth mindset-type narrative, it does seem to help immunize against trauma or at the very least, to help integrate it to the point the negative effect is attenuated