I don't know what the solution is but using government to replace or supplement the kind of support that people traditionally got from their family, friends and network has only reduced the strength of those support streams over the decades.
To call out one well studied example, you can't just do first order stuff like extend bennies to single moms because then people won't get married in the first place and it's easier to split up if you're not married then you've got a legit single mom on your hands with all the poorer outcomes that entails. You can play whack a mole refining the rules forever but that has its own problems.