It is demoralizing when the higher-ups at your job ask you to update/write down all your processes with a weak rationale to cover for the fact that you're soon going to be replaced by less expensive labor.
It becomes somewhat more demoralizing when, knowing this, you do it anyway.
You really start hitting bottom when you realize that, a few years ago in previous jobs that presented the same situation, youhad the backbone to refuse tocontribute to the outsourcing of your own job.While it never really made a difference in the ultimate outcome, you felt like you had at leaststood your ground.