The solution is not to put it on the taxpayers. Mom and the Dads should be the ones supporting the kids.
If its made clear up front that taxpayers won’t pay for them, maybe they will act more responsible.
That’s good for the future, but what about all the current situations?