Current culture is profoundly distorted, so it is hard to implement effective solution. You could introduce law which requires someone who wants to be a child caregiver to go through this process of education. If they refuse, then the law would force unsustainable adult caregiver to give away the child to proper care. If such caregivers keep making children anyway, then they should be forced to go through sterilization. We have the choice: allow such people to breed without any consideration for well being of these little human beings, and let them perpetuate suffering and misery, or take children away from them, and if they don't stop, then sterilize them.
Of course, this is just patchwork solution, which does not address the root cause of the problem.
To address the root cause of the problem, we would need to transform our whole society towards sustainable with reshaped value system. Towards system where this childcare approach is obvious and understood as fundamental. I would refer you to my previous blog describing such society:
https://steemit.com/anarchism/@logic/the-meaning-of-true-anarchism-part-2-into-the-future-sustainable-and-cybernated-social-systems