My general advice is to be aware when you're in the grief cycle and get out of there as fast as possible so that you can think clearly. A lot of people in the comments are in denial and bargaining. You sound like you're at depression... almost out of it!

But things will continue to happen. Some people take years to get out of denial or anger. In this period, they do really dumb things. Things will get worse. Which causes more grief.

Catch yourself. Let the emotions flow, but be aware of the process. Maybe you choose to fight it, but try to get into the Acceptance phase first, where your anger can strike like a hammer, instead of a river.

A lot of the pro-AI people have been there too. Kent Beck wrote a nice article on his experience: https://tidyfirst.substack.com/p/90-of-my-skills-are-now-wor...