calculators doing a perfect job did not end accountants' jobs, it made it faster.
Not necessarily faster, but more easy for sure. There's plenty of stories of proficient abacus using accountants being faster than those using calculators. Those days are gone now though because a calculator is just so much easier to pick up.
Your sort of paying them to understand the tax code that changes year to year tho
I don’t think that’s as good of an example as you think it is.
“Computer” used to be a job title. It was entirely replaced by … drumroll … electronic computers, i.e. calculators.
Technology doesn’t usually eliminate the need for a job output in general but it can sometimes shift the skills needed wildly.