This is a theory, not fact. There are proponents from the medical community that argue otherwise.
Professor Jim van Os at Maastricht University Medical Centre: 'Schizophrenia' does not exist https://www.sciencedaily.com/releases/2016/02/160203090208.h...
Robin M. Murray, Department of Psychosis Studies, Institute of Psychiatry, Psychology and Neuroscience: "In the last 2 decades, it has become obvious that child abuse, urbanization, migration, and adverse life events contribute to the etiology of schizophrenia and other psychoses. […] I expect to see the end of the concept of schizophrenia soon." https://pmc.ncbi.nlm.nih.gov/articles/PMC5605250/
The Role of Childhood Trauma in Psychosis and Schizophrenia: A Systematic Review: "There is a correlation between histories of child maltreatment with several structural changes in the brain." https://pmc.ncbi.nlm.nih.gov/articles/PMC8858420/