I don't know any city with amazing public transport where driving a private car isn't nightmarish.
You're also using the type of phrasing hyperbole that the anti-bike-lane zealots use.
But anyways, the order of causation is probably reversed. Cities with high density are forced to invest in good public transport by sheer public demand and pressure.