Exactly. Then building more does not solve the housing issue. More people will just cram into the newly built spaces. Housing is still expensive. Witness NYC.
If people keep moving in that means that high density is by definition desirable. We as a society should be building the stuff that people want, and your argument proves that what people want is high density living.
The fact that high density living attracts new buyers is even MORE reason to make more of the type of living that people love.