A healthy labor pool increase business growth that in turn can push average industry wages higher however.
It’s real phenomena too - US developer wages are so high in part due to the business ecosystem which depends on part on recent graduates and a flexible labor pool.
That is, your analysis is only true in the static case. Starve US startups of talented junior developers and you might kill the next Facebook in the process.