In terms of job security nothing beats healthcare though. No matter how well or bad the economy is doing, no matter how many industries crumble, no matter how expensive things get, no matter if currencies go up or down, food is short or in excess, etc., people - rich and poor - will always have health issues. They either live long enough to have many health issues, or they have a big health issue which threatens them of not living long enough.
It's paradoxical that many hospitals laid people off during the early days of the pandemic because they suspended visits/treatments, during the early days, for most non-emergency conditions.
I didn't say I think those careers are amazing or better (I don't want to be in them over my current job) but I definitely think they are more resistant to economic downturns and more location-agnostic