As usual with most things in life the situation on the ground is a little more nuanced. There are certainly family environments that are not healthy. I have known several parents who ended up losing custody of their children and I could not say in any of the cases that this was a bad thing. When parents are drunk and high, what do you propose - still better to leave the children with them to preserve the family?
Your idea is not wrong, but it is also important to give consideration to the welfare of this children right after they are taken away from their parents custody. The family is the foundation of every human community, and if one is deprived the right of belonging to a family, then there's no saying what could become of that child in the nearest future.
Furthermore, parents who have certain setbacks or faults can be temporarily placed under a consistent correction scheme. In other words, these children do not leave the custody of their parents and the parents involved get the proper and more permanent solution to their inadequacies.
Ponder on this fact too.