In germamy its the same. For 2022 there were 262.600 homeless vs. 1.900.000 empty apartments
Hard to find actual numbers for empty flats but homelessnes has risen to over 500.000 in 2025. If empty flats would not be used solely for trading and are leaved empty to fuel the rents, there would be no need for anyone to sleep on the streets.
Homelessness is intended in capitalism. People have to fear it.