The market sets prices by charging as much as possible and since housing is indispensable rather than an optional commodity. People pay as much as they absolutely can for it, which can be like 90% of their wages in some extreme cases in high cost of living American cities. It's a race to the bottom until there is simply no money left for the landlord and you are on the street, while working a job in some cases.