Are Bike Lanes Really Safe?

I’ve had two recent cycling accidents in which I had the right of way but inattentive drivers cut me off.