Easy, in todays market, there are plenty of experienced developers who are being laid off so you don’t have to hire juniors.
There is no statistic longevity in tech. It’s well known that the quickest method to make more money especially when starting out is to change jobs after two or three years.
Salary compression and inversion is real.
Yes I know it’s a prisoner’s dilemma. If no one is willing to hire juniors, then how do you get a pool of seniors. It’s a local maximization problem