This has been the case for years: there are plenty of people who should not be discharged home to fend entirely on their own, but there's no social care in place to look after them, so they aren't discharged. This is also technically the responsibility of the local council rather than central government.
During the pandemic there was almost unlimited money available for Test and Trace, some for the entirely temporary "Nightingale" hospitals, .. and basically no effort to increase staffing levels or solve the social care issue.