A person who is referred (especially in SWE) doesn't automatically mean they'll get the job, they'll still have to pass checks from members who may have never even interacted with the referrer. The advantage lies in the fact that it means their resume/cover gets reviewed while the 200th applicant doesn't. The reality is companies get tons of applicants and on paper most of them might be qualified.