Yeah, if the people who run your city/country aren't complete idiots, they do care at least a little bit about bike lanes and public transportation. We scrapped our cars entirely and just use those rentable cars that park on every other corner for larger shopping trips. Everything else is done by bike or public. Though we also get most of our vegetables and fruits delivered.
I get that this is not possible in every city but it should be a thing in major cities with a population of more than idk 500k or so.