Sorry, but no amount of verbal chewing out is going to change behavior on this one. It’s far safer for me on the sidewalk — and it’s far more likely both people walk away from an accident with a pedestrian than a vehicle.
Edit: also, where I live (northeastern US) the roads have craters like Beirut in the 80s. Cars have problems on them, so cyclists ride on the sidewalk rather than swerve all over the road to find a path that won’t shred your rims / tires.
Yup, it’s illegal. So is driving / parking in the bike lane, but the cops in my city enforce neither. Doesn’t change a thing — I refuse not to be selfish when it comes to protecting my life.