That's true, but you have to bootstrap it. People will also not bike if it's not safe or attractive to do. In the city I live in, the city center was pretty unsafe for pedestrians and cyclists until the end of the 70s. Two persistent politicians decided to pretty much ban cars from the city center [1], which led to a lot of protests. They persisted and in 1977 the switch was flipped on a single day. Nowadays everyone here is in favor of this and other cities have made the same change, because people realize now that a city center without cars is much nicer: you can walk around much more carelessly, the air is cleaner, etc. Also, it made biking far more attractive, because you can get from the outskirts of the city to some shop much faster by bike than by car.
Since then, the cycling network has been continuously optimized to be able to travel between different points in the city as possible as quickly as possible and with as few interactions with cars as possible. And there are other amenities like traffic light that increase priority for cyclists when it is raining (to encourage people to cycle even when it is raining).
The same is true outside the cities, where there is a dense cycling network, largely separated from car roads. Both for fast work <-> home routing and for recreational cycling. The latter is the so-called fietsknooppunten network that prefers nice routes through nature, etc. over short routes [2].
[1] Article in Dutch: https://www.aanpakringzuid.nl/actueel/nieuws/verhalen/straks... , Google translation: https://www-aanpakringzuid-nl.translate.goog/actueel/nieuws/...
[2] Fietsknooppunten: https://www.fietsknoop.nl/planner