Dealing With a Soul Crushing Prof.

I want to encourage you. You are going to be alright. You are doing great in recognizing this problem. You are taking steps for self care.
Yes, talk with counseling about your anxiety. Talk to tutoring, learning support services, ombudsman, dean of students about how to deal with rudeness, verbal abuse, get support.

I agree you should not be treated so rudely. Do students record lectures?
I would hope there is a code of conduct for civility by faculty.
There may be older students in your program who can support you, advise about assignments.
This class is like a storm and you need to prepare/protect yourself. It will pass.