>>56221218Taxonomically, you never stop being what you evolved from. Crabs aren't bugs, but crabs and bugs are both arthropods alongside millipedes/centipedes, spiders/scorpions, sea scorpions, isopods(pill bugs), barnacles, horseshoe crabs, and anomalocarids.
If you want to have a definition of bugs that includes worms, you have to go back to Ecdysozoa, which will then also include tardigrades and nematodes.