Psychologists label this as learned helplessness. This
concept refers to the behavior that people learn when they feel they
cannot escape or change their situation, so they stop trying and feel
helpless and inferior, despite the opportunities to change their
situation or improve the adversity they face. This term was introduced by the psychologist Martin Seligman.
I hope my answer can help you.