I definitely would have kept my software engineering career longer if I could have found a decent job like I used to have. But what it means to be and what's expected of a professional software engineer today is so different from how I spent my career and how I like/need to work. So I've retired rather than continue fighting it.
There’s plenty companies around who are doing more or less what they did 20 years ago. Enterprise ERP systems is where you want to look.