No it wouldn't. It would have many times to get it right. Until it did, the woodpeckers would keep dying, true, but once one got it right, it would survive long enough to reproduce, unlike the others.
I'd also like to point out that, no, I don't know exactly how a woodpecker evolved to its...