Sounds like you actually have no idea how resistance occurs. There are mechanisms for bacteria to gain resistance they didn't start out with, it's called horizontal gene transfer. At least read the wiki before you speaking so confidently about something you know so little about.