I used to bike from Brooklyn to my job in Manhattan. The worst part of the trip was in Brooklyn where there are quite a lot of bike lanes and the Manhattan bridge, which has a dedicated bike lane over the bridge.
For one thing, double parking is a thing all over the city. So you are constantly having to swing out back into traffic from the bike lane because cars are in the lane. For the other thing, bike lanes--where they do exist--are painted right next to the street parking, so you are constantly having to watch out for people getting out of their cars and opening a door right into you. Also causing you to have to swerve into traffic when that happens.
The bike lane over the bridge is insane. Particularly on the downward side of the bridge where cyclists just let momentum take them and fly as fast as they can.
The only time I've ever felt safe on a bike is in Manhattan where the traffic is so bad, no one can ever move fast enough to hurt anyone. In the 6 months or so I did that, I ended up in 8 very close calls then ended up with me laid out on the street in traffic trying to dodge something or someone or almost hit by someone else on a bicycle, I gave it up and went back to taking the subway, where I could read and be productive on the way to work instead of constantly worrying about getting smacked.