Everything about that seemed secure and stable until our entire world got rekt in 2008. It took forever for the average automotive worker and their family to recover from that recession, and I've come out of it incredibly cynical about employment and the US economic system. When it matters most, DC will bail themselves and their cronies out first, and will drag their feet and cry deficits when it gets time to help you.
I care about doing great work, but my highest priority is to "secure the bag" as the kids say and ensure a stable life for myself and my family. I keep a big cash savings, save and invest aggressively for retirement, and make no assumptions about my employability in a hypothetical time of crisis. I have a feeling a lot of mid-late-20s and early 30s SWEs share my experience, it's no accident I chose such a lucrative field (though I do love my work!).
Watch out for yourself, don't discount the possibility that software eng is just living in a repeat of the irrationally exuberant 1990s automotive industry.
Side note/PS: It's not all about money: you've got to be politically active, invest in community, and advocate for the kind of world you believe we should live in! Just don't forget to secure yourself financially and make no assumptions if you can afford not to, then you can confidentially support yourself and others in times of crisis.
I want to make sure that when that happens, my family will be economically okay during the following years.
This may be regional, but certainly seems to hold for US, Canada, much of EU in my limited experience.