When bikes are ridden on the pavement, it's usually because road design and/or car drivers are making the road too dangerous for them. If you think about it, the pavement is not somewhere the average cyclist wants to be any more than a pedestrian wants them there. Even without people filling them, pavements are irregular, uneven and cluttered spaces, optimised for slow-moving bipeds who can stop, start and turn on a dime. If there's a safe roadway available, cyclists will use it.
If my bike can't use the road, I dismount and walk it. Riding on the sidewalk is illegal. I don't begrudge anyone who does it perforce - say, if there are no alternative roads and they need to get to work - but I do begrudge cyclists who seem to forget that dismounting is even possible.
Yet cars kill many pedestrians on pavements every year.