If my job gets automated, I'll find something else to do. I wouldn't have wanted lamplighters to succeed in preventing electrification, so it would be unfair for me to prevent the automation of my job if it can be done.
What if that something else pays less? Or doesn't pay enough to live at all?
That's life. I'm lucky to be interested in and also good at a profession that pays well. If I lose that and in exchange everyone gets to be good at making software, then that's a sacrifice I feel obligated to make for the benefit of humanity, and I'll still have more savings than someone not in this profession.