Helmets can help in some accidents, and hurt in others.
In the past five years, I've had two accidents in which a helmet might have made a difference. In neither case would that difference been beneficial for me; it would have made things worse. But both would have produced awesome "my helmet saved my life" pictures!