why people insist on having children they know they can't afford to feed
Perhaps because they see the plight of low income childless? People complain about women getting pregnant to get housed. A minority do yes. However, if everyone had access to affordable housing they wouldn't need to do this would they.
Separately, many people can afford their children - but circumstances change.
Redundancy, bereavement, disability, long-term illness, domestic abuse. The safety net has been slowly disappearing for the past 20 or 30 years.
It started in earnest with Blair's war on the disabled. Followed by Brown putting us on the path to reduced (and now pretty much gone) housing benefits. Their successors simply enthusiastically continued down that road.
We need mass council housing (no right to buy). It won't solve all the problems but it would make a big difference.