Can’t families also be dangerous places for children, for example if they are subjected to abuse or neglect?

Yes, and children’s safety is of course our first priority, but in finding alternative care for children the aim should always be to ensure that they continue to grow-up in a family environment, for example with members of their extended family or with foster parents, and not in orphanages.