Companies don't want to take on the burden of training junior devs and then complain when there aren't enough senior devs to go around. Obviously it makes sense from a business perspective, but taking a step back, training junior talent in this field should be a top priority for everyone.