I think there are an awful lot of parents who, if they had access to good mental health care, parenting support, financial help, and proper support to leave abusive partners, could have kept their children and both they and their kids would have been much better off. Taking a child away from their parents should only ever happen when there is absolutely no other possible way to keep them safe.
I had a friend recently go through child protection proceedings, and the behaviour of social services was jaw dropping. It really shocked me.It was outright lies, bigotry, and incompetence from start to finish. My friend had her baby taken away for months, and she was very lucky to get her back. It could very easily have gone the other way and led to adoption.
The social worker assigned to her seemed to have no interest in supporting her, and blatantly lied to her and about her on multiple occasions. It's interesting what you said about potential future risks of harm. That's exactly what they said about her to justify taking her baby away, and it really shocked me. How on earth can they justify removing a child on that basis? Any person on earth could potentially harm a child in the future. My friend did nothing wrong during her pregnancy, but they removed her baby at birth for months because she had a history of mental health problems, and was a young single mum without money or family support.
Since she eventually got her little girl back she's been a wonderful mum. But she really struggles to enjoy any part of motherhood because she's terrified it could all happen again.
She's told me if her mental health ever gets bad she wouldn't dare tell her GP or seek help in case it was used against her again. And if that ever happened and she struggled to parent, no doubt social services would be quick to jump in blame her for not seeking treatment with zero self awareness.
Conversely I have another friend who had a horrifically abusive childhood, social services were called by the school on multiple occasions due to serious injuries, but because her parents were wealthy and well educated and had a lovely house and good jobs, they did a single cursory visit, had a brief friendly chat with the parents and admired the beautiful house and gardens, and absolutely nothing was done.