Why did the spider die?

Did you try to offer water? Often the climate indoors is very challenging for spiders