Interestingly, it seems like some women's monastic communities (ostensibly the pinnacle of rich spiritual life and engagement with community) are much less likely to experience midlife crises, see https://www.jstor.org/stable/43682330 Figures 1 and 2.
I reckon nuns don't deal with a lot of Zoom job interviews after being laid off, pointy-haired bosses, relationship troubles, making ends meet, and paying rent. That helps a little.