The investment an organization makes in helping junior developers get up to speed pays off in the longer run if the workplace isn't toxic. Ideas flow better when there is a difference in experience level in the team. Mentoring also helps experience people learn more as opposed to settling down in a comfort zone.