Of course there will be exceptions, but, given two candidates, the one who did better will get the offer. At big tech companies there is no shortage of people who ace a white-board problem.
Also, if you interview with multiple people for a position (and do multiple white-board problems) you can get an offer without acing all of them.