In my own opinion I should say that he deserves it and possibly, wanted it in a way that he tried to be so full of himself in front of the goddess Athena where in the first place taught him to weave so well. Like what they said "curiosity kills the cat" in his case kills the man and became an eight legged insect. This is to show us how humility saves our humanity, physically I should say.