It depends.
In over forty years of professional flying, I have personally not been out of suitable employment...except when I wanted to be.
The reason is quite simple.
I have been prepared to move nearly anywhere in the world for the right Command position.
Children?
Don't have any...far too expensive, and besides, the missus doesn't like 'em either.
IF one is prepared to go where the jobs are, success can usually be found....and, nonsensical ALPA ideas are left firmly behind.
Offshore carriers simply don't want to hear these ideas, and if you bring 'em with you, failure is guaranteed.
Corporate aviation?
Yes, I've done this as well (aviation department manager, overseas) and found the position very rewarding.
Especially when the local area manager insisted we fly seven days a week.
I picked up the telephone and directly called the chairman of the board (to which I directly reported) and he, in turn, called the local area manager and told him just who the boss was...yours truly.
Case closed.