I have personally known cyclists that stated that they had a fall and their helmet saved them from a head injury.
I have read many accounts on this forum where members have clearly stated that wearing a helmet protected them from a head injury.
Funny though that I have never heard about or read about even one person credibly stating that wearing a helmet caused them to have a head injury.
I have occasionally read some nonsense about risk compensation though lol.