The Soviet system used psychiatry as a weapon by diagnosing political opponents as mentally ill in order to confine them as patients instead of trying them in court. Anyone who challenged the state such as dissidents, writers, would-be emigrants, religious believers, or human rights activists could be branded with fabricated disorders like sluggish schizophrenia. This turned normal political disagreement into supposed medical pathology and allowed the state to present dissent as insanity.
Once labeled in this way, people were placed in psychiatric hospitals where they could be held for long periods without legal protections. Harsh treatments were often used to break their resolve. The collaboration between state security organs and compliant psychiatrists created a system where political imprisonment was disguised as medical care, letting the Soviet regime suppress opposition while pretending it was addressing illness rather than silencing critics.
Kinda how it works in our late stage capitalist societies to be honest, except that it's collective pressure/belief instead of state-imposed.
You have trouble accepting the shitty state the world is in? You don't want to be exploited and end the month with not enough to pay your rent? You're fed up with that human crushing machine that keeps on destroying the planet because There Is No Alternative?
Well, you should consult you might be a tiny bit depressed. Take antidepressants and shut the fuck up. Learn to see and focus on the beauty in life and the little things instead. Take small hobbies, a lover or a cat. How you deal with all of that is your own individual problem.
Does it seem so normal that you really can't see any other way? Congratulations, you are well programmed. Those problems aren't to be delt with on an individual level, they are political.
In the past, most people formed unions and parties and did strikes, political rallys, protested and burned the landowners' manors as a way to process those kind of feelings.