Pharmacists were originally intended to have the knowledge to dispense medicine without a doctor. But now , everything goes through the doctor anyway. So pharmacists now are basically just a redundant middle man.
But anyway, Thailand is a middle/3rd world country. What did you expect ? For me it is a positive. At least I can find a pharmacy that will give me a few valium so that I can sleep on a long flight. In the west , if you asked any pharmacist or doctor for valium so you could get some sleep on a plane, they would panic and call the cops on you