what you're missing is that the demand curve for housing is basically a vertical line. most people will never buy/rent more or less than one unit of housing, and they will pay literally anything to keep it from being less. therefore even if there is a surplus of supply there isn't a competitive market.