It kind of is unfair. Why should someone get preferential treatment just because you happen to know them? Also there's a difference between recommending someone for a job and "Hey this is my buddy, don't look at her resume and we can also skip most of the interview process". There's different degrees of nepotism, they are all usually a bit 'unfair'. But then, life is unfair and so you just deal with it and do the best with whatever resources you have.