I don't believe for a second that there is an endless supply of capable software engineers. The salaries available to folks of even modest experience simply don't support such an assertion.
This problem should be self-correcting. If it's as unproductive as it is unhealthy, then better companies will win by retaining talent for longer.