As a pedestrian who tried cycling to work thrice … I can say that The Problem is pedestrians rather than cyclists.
The problem is everyone, perhaps including the legislation.
When I lived in Europe, bicycle was my main mode of commute, often including ferrying a kid in the child seat at the back to day care or wherever we were going to.
After moving to Australia, I read through the QLD Road Rules and came out of it shaking my head. Essentially, the tone was that bikes are seen as recreational toys instead of vehicles. --> That's where I would start the change. Bikes need to be elevated to the status of vehicles, including the relevant obligations and proper conduct on road.
At the same time, I tried commuting to our local suburban train station (Wynnum North or Lyndum, at the time) but stopped it after a few months. Even with "bike lanes" sandwiched between parked cars and car lanes, it felt too dangerous. Car drivers cutting onto bike lanes or doing other bizarre moves which are risky for bike riders. Or just being clueless around bikes and acting in illogical and unpredictable ways. One needs to get back home safely to the family, after all...
There are too many bike riders, too, who disregard both the rules and any notion of decent behaviour on road and using a bit of an eye for traffic / situational awareness. This group includes even the "MAMIL"s who you'd think spend so much time in traffic that they'd develop some exemplary habits over time.
And clueless pedestrians top this all off. It's super simple: you walk on the left, you ride on the left, and if you need to change "lanes" or direction,
look around first and then move if clear. Or, at least, try to be predictable.
All in all, this all would be heaps easier if people cared to act like there'd perhaps be also other people out and about, each on their own chosen method of movement.