> deserve [to be harassed by people in cars] no, they don't.
> You want to be on the road (outside of a bike line)? Act like you hold a drivers license then. Oh you don't? Get the hell off the road. A driver's license is not required to use a road. It's required to operate a car. Cyclists explicitly have the right to use the road, including outside of bike lanes. When cyclists act unpredictably it is very, very frequently a response to motor vehicle traffic and pressure, because drivers are seemingly incapable of understanding that their tons of metal can hurt people.
Cyclists would love separated infrastructure, but the vast majority of transportation dollars go towards car infrastructure in the US.
> [the sidewalk is] infinitely safer for all involved
no, it isn't. This creates a lot more points of conflict with both drivers (who do not expect fast traffic on the sidewalk) and with pedestrians. Sidewalks are also often not appropriate for wheeled vehicles moving with any speed; terrain is uneven and turns are too sharp.
You're driving? Act like you have a driver's license, which requires you to respond safely to other road users including cyclists. Can't do that? Get the hell off the road.