Socialized medicine (Called universal healthcare or public healthcare outside of the united states) has nothing to do with socialism, and there is literally zero (maybe a couple if you stretch the definition) socialist countries in the world. Policies like free schooling and social security isn't socialism either. Just wanted to throw that out there.
Back to topic. Dont blame the antibiotic resistance on the healthcare system, blame it on overuse of antibiotics in food production and certain countries using antibiotics for any and every health issue out there. As an example you can buy as much antibiotics over the counter in any pharmacy without a doctors note in Thailand, and im certain there are more countries like this.