Wearing a helmet is attacking the symptom and not the cause. The cause is that you're biking in a bike-unfriendly environment where the odds are against you. A better solution would be to educate drivers better and assign them more responsibility if something goes wrong, and introduce bike lanes etc.