It's funny my girlfriend has a group of friends over who are all in the medical field. A nurse and 4 in med school currently, all discussing the exact same things. About how automation is coming into the hospitals, surgical rooms, etc and how they still see a need for their jobs despite people telling them that they are replaceable as well. I laugh because I said this is the exact same thing pilots worry about and it's just interesting to hear a completely different field, that I know nothing about, and think you're crazy to think you are replaceable. Then it goes into the just because you CAN, doesn't mean you SHOULD as stated above.
It's all really not worth the energy, people will shave off years of your life worrying non-stop about the next recession, automated technology release, world event to cause a decline in travel. All of these things are out of anyone's control and the whole "this isn't a career" could be stated for almost any profession in the world.
Make some great money, have some fun, plan your retirement well, be smart with your money and should anything happen to your health, your family, or the industry and forces you to hang the hat up you can look back on a great career and took advantage of it. Some of us will be lucky, some won't, just don't waste your time worrying about • you can't control anyways. The only people who disagree are those who think they've got it all figured out in life, and ya know a lot of pilots do think they know about everything and they're always right so....