I don't think the majority of the poverty problem comes from otherwise well to do parents falling on hard luck. At least in South Africa and I would think most of the rest of Africa this is not the case. If people just made sure to be in a position where they have the capability to provide for children at the point in time when they have them the poverty issue will be almost entirely gone.
And already just something as simple as providing a two parent household and not having children before 25 already virtually guarantees that they will not be impoverished:
- https://www.washingtonpost.com/opinions/dont-deny-the-link-b...
- https://www.businessinsider.com/parents-determine-child-succ...