Yes, and juniors aren't known for their productive work in the beginning. That's not their purpose. Their purpose is to do the mundane work, because it is important for them to become less junior and more senior.
That is robbed of them.
Which in 5-10 years means the need for senior developers is gonna shoot through the roof.