What is a bug? Strictly speaking, a bug is an insect in the group Hemiptera it must have piercing mouthparts. Cicadas are Hemiptera, but spiders aren't.
What are spiders classified as?
Anyway, spiders belong to the Class Arachnida, insects to the Class Insecta. Arachnids are as distant from insects, as birds are from fish.