I've purchased many different brands of dried figs and 90% are coming from Turkey, which all have bugs, bug poo or mold in them. The fresh figs I purchased were from either the US or Brazil and didn't have this problem but were extremely expensive.
I don't know which grade is imported by which brand, but we eat a lot of dried figs here (in Turkey), and I know no one felt sick after eating, even considerable amount of these things.
Fresh figs are so expensive because they're extremely delicate and have extremely short shelf life if produced naturally.
Human body is much more resilient than it looks and our food contains much more than meets the eye. Somebody noted FDA's limits about bugs, so I'll not reiterate it here.
The wasps are how figs pollinate. They're meant to die there. So if you're eating figs that lack a dead wasp it's likely because it's had a hormone applied to it to induce fruiting despite not being pollinated
It applies to almost every single one of the 855 recognized species of figs. There are cultivars and techniques to make the common fig fruit without being pollinated, but I wouldn't characterize it as a "myth"