I was in an asian country (many years ago) where often shops had large jars with an assortment of medicine packets in them.Some treatment is better than no treatment.
Give the thick foreigners some credit to make a judgement if patient A is suitable for Patient B's medicine that's would only be chucked out otherwise.
Travellers were encouraged to pay for goods with prescription drugs if they could be spared because ordinary people had no real access to medical care or said drugs.
Very easy for someone who had the ability to travel on to the next country and get replacements, so many helped out.