Your rent is paid for by the government. It’s called housing benefit in the UK. You can receive up to £20,000 a year in benefits which is equivalent to about £32,000 in pre-tax salary.
So a single person reliant on benefits will at best be able to live in shared accommodation. Larger families in more expensive locations (e.g. most of London) would not have their rent fully covered. A single bedroom flat in the cheaper parts of London rents for about £15,000/yr.