If this were actually true it would never be possible to build more to make housing more affordable. Rents in a market are typically a percentage of the capital investment so what you are saying is roughly equivalent to “building more makes rents go up”. It’s actually the opposite. The demand for density raises the value of land, but the supply of density lowers it.