I've fallen off a bike before and my helmet definitely saved me from a serious head injury. Would I have worn one if it was not compulsory and drilled into me as a child that's what you do when you ride one? Maybe not.
It saved me that day and I expect it saves many people in this country every day too.