Medicaid is extremely stringent when it comes to income and asset thresholds for nursing homes (and in many states receiving social security can effectively disqualify you from Medicaid, even though Medicaid would be more helpful). So in many cases that public money is only applied once hospitals and nursing home facilities have plundered the estate of the soon-to-be deceased until the debt is paid or there is nothing left. Something as routine as old age will often wipe out any potential generational wealth building in all but the upper class.
I bring this up because I think this actually goes back to the original argument in the US that money does, in fact, rule everything. That's ultimately why Americans don't question their legal frameworks-- that's what guarantees the liabilities and debts and who keeps what in the end, not the other way around.