Of note, insects diverged from the arthropod line that would become crabs, lobsters, etc in the beginning of the Carboniferous or late Devonian, a solid 350-400 million years ago. This means crabs and grasshoppers are more distantly related to each other than humans and frogs.