I am very sorry that has happened to you.
I have lots of prescriptions and it's difficult to keep track, esp if there is a dosage change or a med change. Luckily, my pharmacy labels each med with dosage and a written description of the pill/capsule. I check it all, at least once, often more than once. Lots of errors are made in pharmacies, according to some news stories I have seen.
I am glad the error was discovered and that you are okay.

WC