Learn to live on a ~50-75% of your salary is what I’ve been telling people. The good times for American engineers are gone
Maybe in 20 years if/when AI assisted coding gets good. But even then I question if it will take every domain out. Webdev, hell yes. Distributed, maybe (but doubtful). Embedded/HFT/anything performance critical? Doubtful. And they sure aren't going to completely automate out anything mission/safety critical.