If I audition for a job that I don't get, to be honest with you, I'd rather my friend get it. I think there also has to be an acknowledgement of the fact that, as an actor, being in employment is not the norm.
If they're going to cast one person and not another, it's not rejection of your talent, it's just that they want one person and not someone else. As an actor, unfortunately, it's not your job to cast the movie.