if a mushroom is covered in bugs it's probably edible. centipedes, fungus gnats, and slugs are all common on my outdoor beds.
there are a few edible fungi i don't see bugs eat, like meatier varieties such as shiitake and saddle backs, but i have never seen bugs go after poisonous fungi
some bugs will eat psychedelic fungi just like some animals will. but there tends to be less predation with them.
i said probably and my point was made in the context of the meme. it wasn't advice on safe foraging but an observation on how early humans may have made intelligent guesses before we had reliable guide books and the internet.
I read somewhere this is how humans most likely learned what is good and bad to eat. Just need to see something else eating it and it's most likely good.