It takes time to create the infrastructure and generations to change minds.
It took the Netherlands what, 20 years? There’s also countless examples of cities just deciding to have better public infrastructure and then acting on it.
More than 20 years, peak car ridership occurred in the 1970s which was close to 80% of urban transportation done by car. That number is now down to 19% of all urban transportation done by car.
Amsterdam also had backing from the public to transition to bike and public transportation.
Absolutely we should invest in public transportation! And you are right that cities have decided to create public transportation, and then did! But it took a decade plus to plan, build and implant the new system. That’s also ignoring the millions and billions of dollars needed.