Yes this too. A valid criticism. There's no money to be made in coming up with new anti bacterial meds that are able to beat those super resistant bugs until those super resistant bugs become a huge problem for example.
A related problem is there's a lot of money in coming up with me-too drugs, especially ones for recreational use which don't cure any actual diseases but boy do they rake in the cash. The ED drugs (Viagra, Levitra, and Cialis) are the poster child for this.
So we have 3 drugs for treating ED but currently no drugs which can treat certain strains of XDR (Extreme Drug Resistant) tuberculosis. Yikes.