In the long term, yes definitely, and we saw that work first-hand in software development as bootcamps and comp-sci grads started cranking people out. However, the ramp-up time means that during those 5 years that it takes for more people to get qualified, this corrective affect won't help.
Also in the real world the wages are sticky enough that they take time to adjust, and then it takes time for people to realize that X field is becoming well paid and then start pursuing it, so realistically the 5 year period is more like 7 to 10. Plus as long as the industry is growing/expanding, demand can continue to outstrip supply due to that stickiness.
Even rapid moving stuff like AI has bee illustrative of this. The AI leaders are all primarily poaching, and wages are astronomical. This is undoubtedly fueling a massive number of people to study/specialize in AI, but it takes years (maybe even a decade) to complete that path (depending on your starting point).