I don't have answers about what to do but being in denial isn't going to help you. Most developers I know make 6 figures plus, even some JR developers, none of them for FAANG companies. If you make 6 figures you can generally save a lot. Most I know do not. They spend their money in nice things.
Either way, better to view this as a threat so you can jump on whatever comes next
You can switch to a field that won’t be automated for political reasons. Political actors often hire people not for their productivity but for political reasons. You should find yourself a political job.